4 ms·
Yes Here's the docs for the language glpk uses http://www.cs.unb.ca/~bremner/docs/glpk/gmpl.pdf http://www.cs.unb.ca/~bremner/docs/glpk/gmpl.pdf Yeah, with 1
by raverbashing 14y ago
Yes
Here's the docs for the language glpk uses
http://www.cs.unb.ca/~bremner/docs/glpk/gmpl.pdf http://www.cs.unb.ca/~bremner/docs/glpk/gmpl.pdf
Yeah, with 15 (effective) variables it's better to write in some higher level way.
And there's always the canonical way, but that's awful to write by hand, like
k00.v00 + K01.v01 + K02.v02 + k03.v03 < C0
k10.v10 + K11.v11 + K12.v12 + k13.v13 < C1
- DennisP 14y agoI used it for a problem recently, and just wrote code to generate the text file for me.