Skip to content

Accessing GLPK options through PuLP on Google Colab Notebook #353

Answered by pchtsp
SoudiptaC asked this question in Q&A
Discussion options

You must be logged in to vote

I paste the answer I gave in SO:

The options argument to pass to GLPK_CMD need to have no spaces, so:

prob.solve(GLPK(msg=True, options=['--ranges', 'sensitivity.txt']))

Then it works. With your cases, GLPK gave an error without solving the problem saying:

Invalid option '--ranges sensitivity.txt'; try glpsol --help

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SoudiptaC
Comment options

Answer selected by SoudiptaC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants