lemon-project-template-glpk
diff deps/glpk/examples/plan.lp @ 9:33de93886c88
Import GLPK 4.47
author | Alpar Juttner <alpar@cs.elte.hu> |
---|---|
date | Sun, 06 Nov 2011 20:59:10 +0100 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/deps/glpk/examples/plan.lp Sun Nov 06 20:59:10 2011 +0100 1.3 @@ -0,0 +1,39 @@ 1.4 +\* plan.lp *\ 1.5 + 1.6 +Minimize 1.7 + value: .03 bin1 + .08 bin2 + .17 bin3 + .12 bin4 + .15 bin5 + 1.8 + .21 alum + .38 silicon 1.9 + 1.10 +Subject To 1.11 + yield: bin1 + bin2 + bin3 + bin4 + bin5 + 1.12 + alum + silicon = 2000 1.13 + 1.14 + fe: .15 bin1 + .04 bin2 + .02 bin3 + .04 bin4 + .02 bin5 + 1.15 + .01 alum + .03 silicon <= 60 1.16 + 1.17 + cu: .03 bin1 + .05 bin2 + .08 bin3 + .02 bin4 + .06 bin5 + 1.18 + .01 alum <= 100 1.19 + 1.20 + mn: .02 bin1 + .04 bin2 + .01 bin3 + .02 bin4 + .02 bin5 <= 40 1.21 + 1.22 + mg: .02 bin1 + .03 bin2 + .01 bin5 <= 30 1.23 + 1.24 + al: .70 bin1 + .75 bin2 + .80 bin3 + .75 bin4 + .80 bin5 + 1.25 + .97 alum >= 1500 1.26 + 1.27 + si1: .02 bin1 + .06 bin2 + .08 bin3 + .12 bin4 + .02 bin5 + 1.28 + .01 alum + .97 silicon >= 250 1.29 + 1.30 + si2: .02 bin1 + .06 bin2 + .08 bin3 + .12 bin4 + .02 bin5 + 1.31 + .01 alum + .97 silicon <= 300 1.32 + 1.33 +Bounds 1.34 + bin1 <= 200 1.35 + bin2 <= 2500 1.36 + 400 <= bin3 <= 800 1.37 + 100 <= bin4 <= 700 1.38 + bin5 <= 1500 1.39 + 1.40 +End 1.41 + 1.42 +\* eof *\