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

Basic embedding tasks

Description
  • ugvb.xls: Compiling a model into a BIM file, then load and run it. Passing parameters to a Mosel program (requires burglar5.mos, burglar.dat, prime4.mos, ugvb.bas)
  • ugcb.xls: Redirecting Mosel output and error streams to a callback (requires burglar10.mos, burglar.dat, ugcb.bas)


Source Files
By clicking on a file name, a preview is opened at the bottom of this page.
burglar5.mos[download]
burglar10.mos[download]
prime4.mos[download]

Data Files





burglar.dat

! Data file for `burglar2.mos'

VALUE: [("camera") 15 ("necklace") 100 ("vase") 90 ("picture") 60
         ("tv") 40 ("video") 15 ("chest") 10 ("brick") 1]
WEIGHT:[("camera") 2 ("necklace") 20 ("vase") 20 ("picture") 30
         ("tv") 40 ("video") 30 ("chest") 60 ("brick") 10]

Back to examples browserPrevious example