Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix MindtPy bugs #3034
Fix MindtPy bugs #3034
Changes from 20 commits
6d442b2
a6e92c5
f766c0a
8306925
816e3d6
5c47040
a767f28
a30cf82
2a6f1d7
6bcdadb
a66f955
cefd4a6
dec70eb
905503b
3b01104
906fff7
f57c938
f261fdc
892021f
1f2ab73
015ebaf
a6079d5
e8b3b72
dc41b8e
dbe9f49
655692a
4ac390e
a755067
51be801
d9d29bf
f04424e
ef66660
04ea15e
f84ff8d
83b28cb
6ee3f58
355df8b
a7a01c2
875269f
65e58f5
c8eead9
baa816c
d229461
3d1db13
7e69413
c9f7888
934b153
973fb23
b4e9f47
a93d793
666cbaa
14ebdcd
b143e87
09bda47
767da46
317dae8
601ec30
76acc80
f3414da
43f0d24
70fe040
194e328
ff4c031
1b73570
4ec0e8c
acb10de
de73340
92d9477
8d051b0
66f5025
a77a19b
a0997d8
6c9fa3e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is to mention some reasons why we trigger tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be more precise, the algorithm will terminate during the MIP start process as soon as the bounds converge. In such scenarios, we utilize
self.abort()
to terminate CPLEX. As a consequence, theresults.solver.status
will be set toerror
, accompanied by an error message. Our initial choice to useself.abort()
was driven by the need for immediate termination upon meeting the convergence criteria. However, I am currently uncertain about the extent of the difference it would make if we allowed CPLEX to terminate on its own.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the error will be captured by the
try except
command. We don't need to worry about it and it is still the most efficient way to terminate CPLEX. I add a TODO here. We can decide based on the benchmark results in the future.