Cord Kaldemeyer
Cord Kaldemeyer

Reputation: 6907

Get formatted equations from LP/MPS file

When solving problems with many (changing) constraints or objective components it is pretty hard to create documentation in form of formatted equations for it.

Is there an easy way to automatically create formatted equations (LaTeX, PDF,..) from LP/MPS files?

This would be a big help for me.

Thanks in advance!

Upvotes: 1

Views: 388

Answers (1)

Erwin Kalvelagen
Erwin Kalvelagen

Reputation: 16772

See https://cs.stackexchange.com/questions/48510/help-wrapping-my-head-around-a-combinatorial-optimization-problem/50179#50179 for an example of a LaTeX representation of a GAMS model. I think with LP/MPS files you have lost too much structure and context. It would be very difficult to recover the original equations that formed these files. Almost like recovering the original C code from a .exe file.

Upvotes: 1

Related Questions