| |||||||||
Introductory examples Description Introductory examples from the whitepaper 'Robust Optimization with Xpress'. Topics covered by the examples:
Source Files By clicking on a file name, a preview is opened at the bottom of this page. scenario_simple_deterministic.mos (!****************************************************** Mosel Example Problems ====================== Example model for the Robust Optimization with Xpress white paper (c) 2014 Fair Isaac Corporation rev. May 2017 *******************************************************!) model Scenario uses "mmxprs" ! Load the optimizer library declarations x, y : mpvar end-declarations Scenario1 := 1 * x + 2 * y <= 1 Scenario2 := 3 * x + 1 * y <= 1 Scenario3 := 3 * x + 2 * y <= 1 maximize(x+y) writeln("x = ", getsol(x), " y = ", getsol(y)) end-model | |||||||||
© Copyright 2024 Fair Isaac Corporation. |