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

Mining and process industries

Description
Problem name and type, featuresDifficulty
A‑1 Production of alloys: Blending problem *
formulation of blending constraints; data with numerical indices, solution printout, if-then, getsol
A‑2 Animal food production: Blending problem *
formulation of blending constraints; data with string indices, as, formatted solution printout, use of getsol with linear expressions, strfmt
A‑3 Refinery : Blending problem **
formulation of blending constraints; sparse data with string indices, dynamic initialization, dynamic arrays, finalize, create, union of sets
A‑4 Cane sugar production : Minimum cost flow (in a bipartite graph) *
ceil, is_binary
A‑5 Opencast mining: Minimum cost flow **
encoding of arcs, solving LP-relaxation only
A‑6 Production of electricity: Dispatch problem **
inline if, is_integer


Further explanation of this example: 'Applications of optimization with Xpress-MP', Chapter 6: Mining and process industries (blending problems)

mosel_app_1.zip[download all files]

Source Files

Data Files





a6electr.dat

! Data file for `a6electr.mos'

! Time periods
LEN: [    6     3     3     2      4      4      2]
DEM: [12000 32000 25000 36000  25000  30000  18000]

! Power plants
PMIN:   [ 750  1000  1200  1800]
PMAX:   [1750  1500  2000  3500]
CSTART: [5000  1600  2400  1200]
CMIN:   [2250  1800  3750  4800]
CADD:   [ 2.7   2.2   1.8   3.8]
AVAIL:  [  10     4     8     3]

Back to examples browserPrevious exampleNext example