-
Notifications
You must be signed in to change notification settings - Fork 4
/
pack1.mps
35 lines (35 loc) · 1.58 KB
/
pack1.mps
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
************************************************************************
*
* The data in this file represents a tiny covering problem:
*
* Minimize or maximize Z = x1 + x2 + x3
*
* Subject to:
*
* 1.0 <= x1 + x2
* 1.0 <= x2 + x3
* 1.0 <= x1 x3
*
* where all variables are binary.
*
************************************************************************
NAME EXAMPLE
ROWS
N OBJ
G ROW01
G ROW02
G ROW03
COLUMNS
INT1 'MARKER' 'INTORG'
COL01 OBJ 1.0
COL01 ROW01 1.0 ROW03 1.0
COL02 OBJ 1.0
COL02 ROW01 1.0 ROW02 1.0
COL03 OBJ 1.0
COL03 ROW02 1.0 ROW03 1.0
INT1END 'MARKER' 'INTEND'
RHS
RHS1 ROW01 1.0
RHS1 ROW02 1.0
RHS1 ROW03 1.0
ENDATA