Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CoMISo
CoMISo
Commits
d4ad1599
Commit
d4ad1599
authored
Aug 07, 2017
by
Martin Marinov
Browse files
Re-throw the PROGRESS_ABORTED exception in catch() handlers that can intercept it.
parent
506acf23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Solver/MISolver.cc
View file @
d4ad1599
...
...
@@ -203,10 +203,12 @@ MISolver::solve_cplex(
}
catch
(
IloException
&
e
)
{
PROGRESS_RESUME_ABORT
;
// resume a processed abort request
DEB_warning
(
2
,
"CPLEX Concert exception caught: "
<<
e
.
getMessage
()
)
}
catch
(...)
{
PROGRESS_RESUME_ABORT
;
// resume a processed abort request
DEB_warning
(
1
,
"CPLEX Unknown exception caught"
)
}
...
...
@@ -836,10 +838,12 @@ MISolver::solve_gurobi(
}
catch
(
GRBException
&
e
)
{
PROGRESS_RESUME_ABORT
;
// resume a processed abort request
DEB_warning
(
2
,
"Error code = "
<<
e
.
getErrorCode
()
<<
"["
<<
e
.
getMessage
()
<<
"]
\n
"
)
}
catch
(...)
{
PROGRESS_RESUME_ABORT
;
// resume a processed abort request
DEB_warning
(
1
,
"Exception during optimization"
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment