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

Renewable and non-renewable resources

Description
Examples of the definition of resource constraints for renewable and non-renewable resources.
  • Provision/requirement of a renewable resource modeled with task and resource objects (renewa.mos).
  • Production/consumption of a non-renewable resource modeled with task and resource objects (renewb.mos). Alternative formulation with a 'producer_consumer' constraint (renewb2.mos)
Further explanation of this example: 'Xpress Kalis Mosel User Guide', Section 5.5 Renewable and non-renewable resources


Source Files
By clicking on a file name, a preview is opened at the bottom of this page.
renewa.mos[download]
renewb.mos[download]
renewb2.mos[download]

Data Files





renewa.dat

! Datafile for 'renewa.mos'

DUR:   [('P1') [3 15] ('P2') [4 26] 
	('P3') [0 15] ('P4') [4 25] ('P5') [10 20]]

RESAMT: [('P1') 10 ('P2') 12 ('P3') 5 ('P4') 8 ('P5') 7] 

HORIZON: 35 

PROFIT: [('P3') 5.5 ('P4') 7 ('P5') 6.2] 
COST: [('P1') 1.8 ('P2') 1.6]

CAP: 0


Back to examples browserPrevious exampleNext example