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

Using counters

Description
Using 'count' and 'as counter' separately (count1.mos) or in combination (count2.mos).

Further explanation of this example: 'Mosel User Guide', section 7.2.1.3 Counters


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

Data Files





count2.dat

! Data file for "count2.mos"

ARC: [
 (1 4) 1
 (1 5) 1
 (4 2) 1
 (5 7) 1
 (3 8) 1
 (9 10) 1
 (5 11) 1
 (12 13) 1
 (12 15) 1
 (14 18) 1
 (16 20) 1
 (17 19) 1
 (18 19) 1
 (12 4) 1
 (25 1) 1
 (22 24) 1
 (21 22) 1
 ]

Back to examples browserPrevious exampleNext example