FICO
FICO Xpress Optimization Examples Repository
FICO Optimization Community FICO Xpress Optimization Home
Back to examples browserPrevious exampleNext example

Solving a non-fixed Mosel model using a REST webservice, from Mosel

Description
In this example, the Xpress Executor should first be configured with the runzippedsubmodel.mos model. Then, you run the blendxe.mos model locally; this uses REST webservice requests to send the blend3c model and blend.csv file to the Xpress Executor and remotely solve the model using this, then downloads and displays the results. This demonstrates how the Xpress Executor can be used to run many different models. This example requires a local installation of Xpress.

executor_rest_mosel_nonfixed.zip[download all files]

Source Files
By clicking on a file name, a preview is opened at the bottom of this page.
runzippedsubmodel.mos[download]
blendxe.mos[download]
blend3c.mos[download]

Data Files





blend.csv

,,,,
"MyRange:","ORES","COST","AVAIL","GRADE"
"MyRangeNoHeader:",1,85,60,2.1
,2,93,45,6.3

Back to examples browserPrevious exampleNext example