model lp1.mod; # load the optimization model data lp1.dat; # load the model data options solver cplexamp; # choose cplex as optimization solver solve; # solve the problem display x, z; # display the optimal solution