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! |
|
Are there still any plans to integrate COPT to Pyomo? |
|
@l-kotzur Good question. At the moment, I suspect the answer is "not immediately": this PR has been dormant for quite a while (it wasn't passing tests, and now has conflicts with main). Additionally, the dev team is in the middle of finalizing a new solver interface standard (in If the original author (or a new interested developer) wants to revive it, it would be welcome (and that would probably accelerate things significantly). |
|
I added COPT to the list of solvers we would like to port to the new solver interfaces at some point. |
Fixes
None, new interface.
Summary/Motivation:
This PR adds COPT support to Pyomo, including APPSI, IIS, the NL IO (
coptampl), the Python IO (copt_directandcopt_persistent). The first two features are not tested so far, will do as soon as possible.The
copt_directandcopt_persistentdepends 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_directandcopt_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: