Programming Using Matlabв® | Linear

Linear programming problems with two variables can be visualized by plotting the feasible region defined by the constraints. 5. Advanced Tips

You can specify the algorithm using optimoptions . The default is often 'dual-simplex', which is robust for most standard problems. Linear Programming Using MATLABВ®

If your variables must be integers, use the intlinprog function instead. Linear programming problems with two variables can be