Skip to content
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

COPT interface on master fails CI tests #714

Closed
aphi opened this issue Dec 29, 2023 · 3 comments
Closed

COPT interface on master fails CI tests #714

aphi opened this issue Dec 29, 2023 · 3 comments

Comments

@aphi
Copy link
Contributor

aphi commented Dec 29, 2023

The COPT interface on master is breaking on test_pulp_023. i.e. if we retriggered the tests on master now they would fail with this error below - I've confirmed that on my fork.

Presently this blocks PRs #713 and #710 which make unrelated changes but both hit this error.

ERROR: test_pulp_023 (pulp.tests.test_pulp.COPTTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/runner/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/pulp/tests/test_pulp.py", line 473, in test_pulp_023 pulpTestCheck(prob, self.solver, [const.LpStatusOptimal], solution) File "/Users/runner/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/pulp/tests/test_pulp.py", line 1616, in pulpTestCheck [const.LpStatus[s] for s in okstatus], pulp.constants.PulpError: Tests failed for solver <pulp.apis.copt_api.COPT object at 0x1061f9810>: status == 0 not in [1] status == Not Solved not in ['Optimal']

@wujianjack @pchtsp

@wujianjack
Copy link
Contributor

@aphi Thanks for reporting this issue! We have reproduced and identified the bug, it's about incorrect final MIP status when our MIP start routine determine that the start solution is indeed optimal. The fix will be included in our next patch release.

Thanks again!

@wujianjack
Copy link
Contributor

@aphi Sorry for the delay, we just released 7.0.5 and fixed the issue. Thanks again!

@aphi
Copy link
Contributor Author

aphi commented Jan 5, 2024

@wujianjack Nice one - thanks. Verified to be working in my PR as well, so will close this issue.

@aphi aphi closed this as completed Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants