Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
CoMISo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CoMISo
CoMISo
Commits
d4ad1599
Commit
d4ad1599
authored
Aug 07, 2017
by
Martin Marinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-throw the PROGRESS_ABORTED exception in catch() handlers that can intercept it.
parent
506acf23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Solver/MISolver.cc
Solver/MISolver.cc
+4
-0
No files found.
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