File: stab.lp

package info (click to toggle)
polymake 4.12-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 35,992 kB
  • sloc: cpp: 168,768; perl: 43,375; javascript: 31,575; ansic: 3,007; java: 2,654; python: 633; sh: 268; xml: 117; makefile: 61
file content (17 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Maximize
 obj: x#1 + x#2 + x#3 + x#4 + x#5
Subject to
 edge_1: x#2 + x#1 <= 1
 edge_2: x#3 + x#2 <= 1
 edge_3: x#4 + x#3 <= 1
 edge_4: x#5 + x#4 <= 1
 edge_5: x#1 + x#5 <= 1
Bounds
 0 <= x#1 <= 1
 0 <= x#2 <= 1
 0 <= x#3 <= 1
 0 <= x#4 <= 1
 0 <= x#5 <= 1
General
 x#1 x#2 x#3 x#4 x#5
End