Forum Discussion

FICO's avatar
FICO
Community Manager
10 years ago

Add Mathematical formula to Output

Hello,

i have coded a calculation with 'maximized'.

it's possible to get the Mathematical formula to the Output?

2 Replies

  • FICO's avatar
    FICO
    Community Manager

    For LP or MIP problems, you can display the Mosel problem definition on screen/standard output with

      exportprob("", MyObjective)

    The Optimizer problem representation can be written to a file (using option "l" to produce LP format output) with

      loadprob(MyObjective)

      writeprob("myprob.lp", "l")

  • FICO's avatar
    FICO
    Community Manager

    Nice.

    works really good.

    Thanks for the Help :-)