(!******************************************************* Mosel Example Problems ====================== file chess1.mos ``````````````` Small LP-problem. (c) 2001 Dash Associates author: S.Heipcke *********************************************************!) model Chess1 ! Start a new model uses "mmxprs" ! Load the optimizer library declarations xs: mpvar ! Number of small chess sets to make xl: mpvar ! Number of large chess sets to make end-declarations Profit:= 5*xs + 20*xl ! Define the objective function mc_time:= 3*xs + 2*xl <= 400 ! Limit on available machine time wood:= xs + 3*xl <= 200 ! Limit on available wood maximize(Profit) ! Solve the LP-problem end-model