소경철 님께 보냅니다.
예제파일
\\Problem name: vblpex1.lp
Maximize
obj: x1 + 2 x2 + 3 x3 + x4
Subject To
c1: - x1 + x2 + x3 + 10 x4 <= 20
c2: x1 - 3 x2 + x3 <= 30
c3: x1 - 3.5 x4 = 0
Bounds
0 <= x1 <= 40
0 <= x2 <= 1
0 <= x3 <= 1
2 <= x4 <= 3
Binaries
x2 x3
Generals
x4
End
<Interactive 명령>
read test.lp
mipopt
write
....
solution
txt
....ERRor