home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / DOS / KOV_GG / GDS / LPDEMO1.DRW < prev    next >
Text File  |  1989-08-08  |  636b  |  20 lines

  1. !This file is a demonstration of sensitivity analysis in LP
  2. !Load LPDEMOx.DRW files one after another
  3.  
  4. nw                 !Clear and reset
  5.  
  6. ik r               !Red
  7. li 600,200,4200    !Optimal value
  8.  
  9. ik y               !Yellow
  10. li   1, 0,    6    !First constraint
  11. li   0, 1,   10    !Second constraint
  12. li  10, 20, 160    !Third constraint
  13. li 300,200,2400    !Fourth constraint
  14.  
  15. ax                 !Redraw axes (must be pacthed lest fill leaks)
  16. ax5                !Notches to the axes
  17. fi 1,1             !Fill the area around 1,1 bordered by yellow
  18. po 6,3             !Point at the optimal solution
  19.  
  20. !LPDEMO1.DRW ready