oxfordcontrol/COSMO.jl

Issue with MOI master

blegat opened this issue · 5 comments

See https://travis-ci.com/github/blegat/SolverTests/jobs/380241587#L510
and https://travis-ci.com/github/blegat/SolverTests/jobs/380241587#L539
The second issue is due to the use of the _pass_attributes internal function that changed its signature in jump-dev/MathOptInterface.jl#1121

I have updated the version number of the Project.toml on MOI master, so that you can use it to either branch in the code and call a different signature or simply require this new version in Project.toml.

Thank you for the heads-up @blegat.

I changed the code in COSMO to account for the changes in _pass_attributes here: 92a6fbc

I guess I will wait until you release MOIv0.9.15 and then tag a new release for COSMO that requires that new version.

Somewhat unrelated: How difficult would it be to support VariableNames and ConstraintNames in the current wrapper?
Do you have any examples where they are used?

Supporting names is quite easy. The code in Utilities/model.jl is written such that it's easy to reuse by calling (non-internal) methods.
You can check Utilities/universalfallback.jl to see how to reuse these

MOI was release, I would recommend releasing a new version of COSMO asap as the current one is failing.

I added the changes as discussed 8b377b6. New version will be tagged once the CI tests pass.