Solving the Model

Your model has now been entered and it is ready to be solved.  To begin solving the model, select the Solve command from the LINGO menu, or press the Solve button (btnxpsolve) on the toolbar at the top of the main frame window.  LINGO will begin compiling the model.  During this step, LINGO will determine whether the model conforms to all syntax requirements.  If the LINGO model doesn’t pass these tests, you will be informed by an error message.  In this model, for instance, if you forget to use the multiplication sign, you will get an error like the following:

syntaxerrorxp

LINGO lets you know there is a syntax error in your model, lists the line of the model it is in, and points to the place in the line where it occurred.  For more information on error codes, see Error Messages.