home *** CD-ROM | disk | FTP | other *** search
- !This file is a demonstration of sensitivity analysis in LP
- !Load LPDEMOx.DRW files one after another
-
- nw !Clear and reset
-
- ik r !Red
- li 600,200,4200 !Optimal value
-
- ik y !Yellow
- li 1, 0, 6 !First constraint
- li 0, 1, 10 !Second constraint
- li 10, 20, 160 !Third constraint
- li 300,200,2400 !Fourth constraint
-
- ax !Redraw axes (must be pacthed lest fill leaks)
- ax5 !Notches to the axes
- fi 1,1 !Fill the area around 1,1 bordered by yellow
- po 6,3 !Point at the optimal solution
-
- !LPDEMO1.DRW ready