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, featuresDifficultyRelated examples
A‑1 Production of alloys: Blending problem

formulation of blending constraints; data with numerical indices, solution printout, if-then, getsol
* blending_graph.mos
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
* a1alloy.mos
A‑3 Refinery : Blending problem

formulation of blending constraints; sparse data with string indices, dynamic initialization, union of sets
** a2food.mos
A‑4 Cane sugar production : Minimum cost flow (in a bipartite graph)

mo ceil, is_binary, formattext
* e2minflow.mos, mincostflow_graph.mos
A‑5 Opencast mining: Minimum cost flow

encoding of arcs, solving LP-relaxation only, array of set
** a4sugar.mos
A‑6 Production of electricity: Dispatch problem

inline if, is_integer, looping over optimization problem solving
**


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





a5mine2.dat

! Data file for 'a5mine2.mos'

COST: [100  100  100  100  100  100  100 100 
           1000  200  200  200  200 1000
                1000 1000  300 1000]
                
VALUE: [(1) 200 (7) 300 (10) 500 (12) 200 (17) 1000 (18) 1200] 

PRED: [(9) [1 2 3] (10) [2 3 4] (11) [3 4 5] (12) [4 5 6] (13) [5 6 7] (14) [6 7
8]
       (15) [9 10 11] (16) [10 11 12] (17) [11 12 13] (18) [12 13 14]]

WEIGHT: 10000

Back to examples browserPrevious exampleNext example