Skip to content

Conversation

@nmdefries
Copy link
Contributor

@nmdefries nmdefries commented Mar 22, 2023

Description

Check if the gurobi license info is available, valid, and not expired. If gurobi license is expired (anticipated to be the most common license issue), stop with an error. If the gurobi license is not valid for any other reason, print the message, raise our own warning, and use GLPK to fit the models instead.

Update tests to explicitly use GLPK.

Changelog

  • model.R
  • utils.R
  • tests and new test params files

Fixes

Closes #1715.

@nmdefries nmdefries force-pushed the ndefries/backfill/lp-solver-opt branch from 6f7a777 to b793fe1 Compare March 23, 2023 18:30
@nmdefries nmdefries requested a review from jingjtang March 23, 2023 20:05
Copy link
Contributor

@jingjtang jingjtang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nmdefries
Copy link
Contributor Author

@krivard This is ready to merge

@krivard krivard merged commit 7567309 into main Mar 27, 2023
@krivard krivard deleted the ndefries/backfill/lp-solver-opt branch March 27, 2023 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support GLPK use in backfill corrections container

4 participants