Closed wujianjack closed 11 months ago
this is great! It would be great to add these solvers to the tests, like here:
And also it would be even greater to add the installation of the python package in the integrated tests:
by adding another step with the installation of the package.
this is great! It would be great to add these solvers to the tests, like here:
And also it would be even greater to add the installation of the python package in the integrated tests:
by adding another step with the installation of the package.
@pchtsp Thanks! Please check the updates.
hello! it seems that the tests are falling. Could you take a look? Are you sure the COPT_HOME
env variable is set?
hello! it seems that the tests are falling. Could you take a look? Are you sure the
COPT_HOME
env variable is set?
Ah, the COPT_DLL
requires the libcopt.so
and COPT_HOME
which requires some setup steps, can we just run the tests with COPT
so that pip install coptpy
is enough.
It would be nice to test with COPT_CMD
and COPT_DLL
also, but I don't know how to setup correctly in CI.
This PR adds COPT support for PuLP, including
COPT_CMD()
,COPT_DLL()
andCOPT()
solvers.The
COPT_CMD()
andCOPT_DLL()
solvers depend oncopt_cmd
and COPT shared library respectively, so a full installation of COPT package is required. You can obtain the latest packages from https://github.com/COPT-Public/COPT-Release.The
COPT()
solver depends oncoptpy
, you can install withpip install coptpy
.For larger instances, a valid COPT license is required, you can apply one from https://www.shanshu.ai/copt.