Skip to content

Test usability of HiGHS solver through GAMSModel#472

Draft
khaeru wants to merge 3 commits into
mainfrom
test-highs
Draft

Test usability of HiGHS solver through GAMSModel#472
khaeru wants to merge 3 commits into
mainfrom
test-highs

Conversation

@khaeru

@khaeru khaeru commented Mar 7, 2023

Copy link
Copy Markdown
Member

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