Alan Weiss, MathWorks
See the steps of a problem-based approach for modeling and solving a steel blending problem. A variety of raw material may be purchased, but some are only available in fixed quantities. This restriction results in a model that is a mixed-integer linear program. Use Optimization Toolbox™ to interactively define the optimization problem, optimization variables, and constraints. Review the problem after each addition using the problem, variable, and constraint display functions. Solve the problem and display the results.