Skip to content
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

Test usability of HiGHS solver through GAMSModel #472

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

khaeru
Copy link
Member

@khaeru khaeru commented Mar 7, 2023

This PR tests that the free and open source HiGHS solver can be used through ixmp.

The GAMSModel class is enhanced to allow passing an LP=… keyword argument (thus also Scenario.solve(…, LP=…)) to enable selection of this, or other, solvers.

It appears to be not currently possible to test this on GitHub Actions:

  • The HiGHS solver is only packaged with GAMS 40 and later versions.
  • More recent versions of GAMS do not allow any use without a license.
    • A "free community license" is available by e-mail request; we could possibly request one of these and use it for ixmp CI.
    • Or, we could instead add support for HiGHS via another AML like Pyomo (Add PyomoModel class #420) or Linopy.

How to review

  • Read the diff and release notes.
  • Note the CI checks all pass.

PR checklist

  • Continuous integration checks all ✅
  • Add or expand tests; coverage checks both ✅
  • Add, expand, or update documentation.
  • Update release notes.

@khaeru khaeru self-assigned this Mar 7, 2023
@khaeru khaeru added the enh New features & functionality label Mar 7, 2023
@khaeru khaeru changed the title Test usability of HiGHS solver Test usability of HiGHS solver through GAMSModel Mar 7, 2023
@khaeru khaeru removed their assignment Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enh New features & functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant