-
Notifications
You must be signed in to change notification settings - Fork 525
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
[WIP] Add COPT support for Pyomo #2880
base: main
Are you sure you want to change the base?
Conversation
Hi @wujianjack - Please read the contribution guide for details on how to resolve the black/typos errors: https://pyomo.readthedocs.io/en/stable/contribution_guide.html |
|
Hi @wujianjack - It looks like you are missing an import statement which is causing these failures. Please let me know if you need any assistance. |
@wujianjack feel free to reopen this if you have time to come back to it. |
Thanks, I updated on my fork, but still failed on those checks, I will try to figure out what's going on. |
BTW, I have no access to reopen this PR, can you please reopen it? |
Sorry for the delay. Now it passes the style and typos check, but still failed on other checks, like |
@wujianjack - I am seeing a lot of |
Sorry for the delay, the latest update fixes the segfault, now there are some mismatch regarding to the slack values. (In COPT, slack means activity of constraints in fact). I will think about how to resolve it. Thanks! |
Hi @mrmundt I tried to fix most of the failures and there are 5 failures remains with latest change. One failure is related to IIS, we writes out as
Any suggestion on how to fix these failures? Thanks! |
Fixes
None, new interface.
Summary/Motivation:
This PR adds COPT support to Pyomo, including APPSI, IIS, the NL IO (
coptampl
), the Python IO (copt_direct
andcopt_persistent
). The first two features are not tested so far, will do as soon as possible.The
copt_direct
andcopt_persistent
depends oncoptpy
, which can be installed withpip install coptpy
.For larger instances, a valid COPT license is required, you can apply one from https://www.shanshu.ai/copt.
Changes proposed in this PR:
coptampl
) and Python IO (copt_direct
andcopt_persistent
)Legal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution: