Using the LP SOLVER MOR

Using the LP SOLVER MOR - Using the LP SOLVER MOR/LP In the...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Using the LP SOLVER MOR/LP In the directory list is the mor folder , and within the mor directory is the file mor.exe Double click on mor.exe and the MOR editor is activated; this is a small editor for writing models and calling the solver routines. You can just start writing (similar to Word, Notepad, etc.) and save the file after it is complete (F2 key activates the save process). The following is a lp model file with graphics included for a 2-dimensional problem: -------------------------------FILE--------------------------------- "example for using MOR/LP including graphics" max x0 = x1 + 2x2 st 3x1 + x2 <= 15 2x1 + 5x2 <= 24 -x1 + 2x2 <= 8 x1 >= 0, x2 >= 0 Graphics(-1,10,-1,10) -------------------------------End of File-------------------------- Comments on file: Comments are in “ ” st or subject to must be included but not as s.t. each constraint must have all variables on the left side followed by {=, <=, or >=} and a number the xi>= 0 constraints can be omitted (they are assumed by the
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/26/2011 for the course ISEN 620 taught by Professor Curry during the Fall '10 term at Texas A&M.

Ask a homework question - tutors are online