title Example A1.3 Mythic Forge and Steel
! This example should be used as a model for
! command line LINDO, which can be very picky.
! Command line LINDO hates blank lines.  If you
! have trouble with your LP, check to see that 
! you have no more blank lines than the ones
! in this example.
max 4PJ + 4PW + 7 SJ + 7 SW ! value added

subject to
jamet) PJ + SJ =150
womet) PW + SW = 320
time) 3 PJ + 3 PW + 2 SJ + 2 SW < 2000
scrap) SJ + SW < 360
steel) PJ + PW < 400
jaqua) - 5 PJ + 7 SJ < 0
woqua) -2 PW + 3 SW < 0
end
leave
! The leave command allows you to type up the LP
! in your favorite text editor and then import it 
! into LINDO using the ``take'' command.  If you are
! typing the LP directly into LINDO you should not
! include the ``leave'' line.
