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

Perform objective function parametrics on a global problem

Description

We take a production plan model and observe how the optimal value of the objective function changes as we vary BEN(3), the benefit per month from finishing Project 3.

The program increments BEN(3) from 8 to 15, and for each of these values revises the objective coefficients of the variables x(3,t),t=1:2 and finds the best integer solution. Note that, for each t, the coefficient of x(3,t) is BEN(3)*(3-t) = BEN(3)*(6-t-4+1).

The results are displayed on screen and the problem statistics stored in a log file.



Source Files

Data Files





pplan.mat

NAME          pplan   
ROWS
 N  MaxBen__
 L  ResMax01
 L  ResMax02
 L  ResMax03
 L  ResMax04
 L  ResMax05
 L  ResMax06
 E  One___01
 E  One___02
 E  One___03
 N  XOrder01
 N  XOrder02
 N  XOrder03
COLUMNS
    x___0101  MaxBen__     30.600000   ResMax01      3.000000
    x___0101  ResMax02      4.000000   ResMax03      2.000000
    x___0101  One___01      1.000000   XOrder01      1.000000
    x___0201  MaxBen__     36.900000   ResMax01      4.000000
    x___0201  ResMax02      1.000000   ResMax03      6.000000
    x___0201  One___02      1.000000   XOrder02      1.000000
    x___0301  MaxBen__     22.400000   ResMax01      3.000000
    x___0301  ResMax02      2.000000   ResMax03      1.000000
    x___0301  ResMax04      2.000000   One___03      1.000000
    x___0301  XOrder03      1.000000
    x___0102  MaxBen__     20.400000   ResMax02      3.000000
    x___0102  ResMax03      4.000000   ResMax04      2.000000
    x___0102  One___01      1.000000   XOrder01      2.000000
    x___0202  MaxBen__     24.600000   ResMax02      4.000000
    x___0202  ResMax03      1.000000   ResMax04      6.000000
    x___0202  One___02      1.000000   XOrder02      2.000000
    x___0302  MaxBen__     11.200000   ResMax02      3.000000
    x___0302  ResMax03      2.000000   ResMax04      1.000000
    x___0302  ResMax05      2.000000   One___03      1.000000
    x___0302  XOrder03      2.000000
    x___0103  MaxBen__     10.200000   ResMax03      3.000000
    x___0103  ResMax04      4.000000   ResMax05      2.000000
    x___0103  One___01      1.000000   XOrder01      3.000000
    x___0203  MaxBen__     12.300000   ResMax03      4.000000
    x___0203  ResMax04      1.000000   ResMax05      6.000000
    x___0203  One___02      1.000000   XOrder02      3.000000
    x___0303  ResMax03      3.000000   ResMax04      2.000000
    x___0303  ResMax05      1.000000   ResMax06      2.000000
    x___0303  One___03      1.000000   XOrder03      3.000000
    x___0104  ResMax04      3.000000   ResMax05      4.000000
    x___0104  ResMax06      2.000000   One___01      1.000000
    x___0104  XOrder01      4.000000
    x___0204  ResMax04      4.000000   ResMax05      1.000000
    x___0204  ResMax06      6.000000   One___02      1.000000
    x___0204  XOrder02      4.000000
    x___0304  ResMax04      3.000000   ResMax05      2.000000
    x___0304  ResMax06      1.000000   One___03      1.000000
    x___0304  XOrder03      4.000000
    x___0105  ResMax05      3.000000   ResMax06      4.000000
    x___0105  One___01      1.000000   XOrder01      5.000000
    x___0205  ResMax05      4.000000   ResMax06      1.000000
    x___0205  One___02      1.000000   XOrder02      5.000000
    x___0305  ResMax05      3.000000   ResMax06      2.000000
    x___0305  One___03      1.000000   XOrder03      5.000000
    x___0106  ResMax06      3.000000   One___01      1.000000
    x___0106  XOrder01      6.000000
    x___0206  ResMax06      4.000000   One___02      1.000000
    x___0206  XOrder02      6.000000
    x___0306  ResMax06      3.000000   One___03      1.000000
    x___0306  XOrder03      6.000000
SETS
 S1 XSet__01  XOrder01                 x___0101
    XSet__01  x___0102                 x___0103
    XSet__01  x___0104                 x___0105
    XSet__01  x___0106
 S1 XSet__02  XOrder02                 x___0201
    XSet__02  x___0202                 x___0203
    XSet__02  x___0204                 x___0205
    XSet__02  x___0206
 S1 XSet__03  XOrder03                 x___0301
    XSet__03  x___0302                 x___0303
    XSet__03  x___0304                 x___0305
    XSet__03  x___0306
RHS
    RHS00001  ResMax01      5.000000   ResMax02      6.000000
    RHS00001  ResMax03      5.000000   ResMax04      5.000000
    RHS00001  ResMax05      4.000000   ResMax06      5.000000
    RHS00001  One___01      1.000000   One___02      1.000000
    RHS00001  One___03      1.000000
ENDATA

Back to examples browserPrevious exampleNext example