jump-dev / CPLEX.jl

A Julia interface to the CPLEX solver
https://www.ibm.com/products/ilog-cplex-optimization-studio
MIT License
134 stars 63 forks source link

Support for cplex 22 #399

Closed chelseas closed 2 years ago

chelseas commented 2 years ago

Hi, I see some commits getting this package ready for cplex 22. Is it ready for use and for the Project.toml to be updated?

odow commented 2 years ago

Does it not work at present?

chelseas commented 2 years ago

Oh sorry skipped a step. Dev, edit project.toml, test?

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Chelsea Rose Sidrane @.> Sent: Thursday, April 14, 2022 1:46:29 AM To: jump-dev/CPLEX.jl @.> Subject: Re: [jump-dev/CPLEX.jl] Support for cplex 22 (Issue #399)

I concluded from the error message I got when using cplex 22 that it's still explicitly limited in the project.toml. would I test that by devving the package, running test on it and if nothing fails then it's good to go?

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Oscar Dowson @.> Sent: Thursday, April 14, 2022 1:22:22 AM To: jump-dev/CPLEX.jl @.> Cc: Chelsea Rose Sidrane @.>; Author @.> Subject: Re: [jump-dev/CPLEX.jl] Support for cplex 22 (Issue #399)

Does it not work at present?

— Reply to this email directly, view it on GitHubhttps://github.com/jump-dev/CPLEX.jl/issues/399#issuecomment-1098841712, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADRQXSRCRWX5XHNHHLSOEFDVE7IT5ANCNFSM5TMUJY5Q. You are receiving this because you authored the thread.Message ID: @.***>

blegat commented 2 years ago

Hi, the Project.toml does not need to be updated as the CPLEX binary is not installed by the Pkg manager but by the following script: https://github.com/jump-dev/CPLEX.jl/blob/16028c68d6900183cb427a5e11e12215bfd0360e/deps/build.jl#L8-L12 You an see that v22 is supported by the latest version of CPLEX.jl

odow commented 2 years ago

Oh sorry skipped a step. Dev, edit project.toml, test?

No, you just need to install the latest release of CPLEX.jl.

If you already have it installed run import Pkg; Pkg.build("CPLEX").

(Edit: accidentally closed. Hit wrong button.)

odow commented 2 years ago

@chelseas did you get this working?

chelseas commented 2 years ago

Thanks for checking in! I actually ended up downgrading my versions of CPLEX and using 12.10 enterprise server. Haven't tested with the newest CPLEX.jl, sorry. But thanks for letting me know! If I end up trying it, I will comment. I just needed to get something working.

odow commented 2 years ago

Closing this for now because I'm not aware of a reason why CPLEX 22 wouldn't work (it gets tested in CI). Please re-open if you can reproduce in future.

chelseas commented 2 years ago

I concluded from the error message I got when using cplex 22 that it's still explicitly limited in the project.toml. would I test that by devving the package, running test on it and if nothing fails then it's good to go?

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Oscar Dowson @.> Sent: Thursday, April 14, 2022 1:22:22 AM To: jump-dev/CPLEX.jl @.> Cc: Chelsea Rose Sidrane @.>; Author @.> Subject: Re: [jump-dev/CPLEX.jl] Support for cplex 22 (Issue #399)

Does it not work at present?

— Reply to this email directly, view it on GitHubhttps://github.com/jump-dev/CPLEX.jl/issues/399#issuecomment-1098841712, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADRQXSRCRWX5XHNHHLSOEFDVE7IT5ANCNFSM5TMUJY5Q. You are receiving this because you authored the thread.Message ID: @.***>

odow commented 2 years ago

it's still explicitly limited in the project.toml

Nothing in Project.toml limits the upstream version of CPLEX that we can use.