Model objectives and constraints using mathematical functions, inequalities and inclusion. Define compact high-level models in a natural way with vector variables, vector inequalities and geometric regions. Create reusable models by programmatically constructing them from data, graphs and any other objects.
Linear & Convex Optimization
Solve large-scale convex optimization problems with global, fast and reliable methods. Convex optimization includes important classes such as linear, quadratic, second-order cone, semidefinite and conic optimization.
Find a local optimum to unconstrained or constrained optimization problems. Local methods are fast and scalable and are often sufficient or used to build more elaborate methods. Solve using automated selection of methods ranging from quasi Newton to interior point, as well as computation of derivatives and compilation for efficiency.
Search for the best possible value for an objective within given constraints. The extra effort required for finding a global optimum is often valuable for financial, safety or efficiency reasons. Use a wide variety of methods from deterministic extensions to convex optimization to stochastic evolutionary methods.
Solve convex optimization problems where some of the decision variables can only have discrete or integer values. Discrete variables arise commonly in assignment, scheduling and routing problems. Use branch and bound, cutting plane and outer approximation methods to efficiently solve mixed-integer problems.
Solve families of optimization problems by using parameters in objectives and constraints. Find many solutions efficiently (parameter sweeps), safe solutions for all values (robust optimization), expected solutions for random values (stochastic optimization) or sensitivity to changes in values (parametric sensitivity).
Find model parameters that best fit a set of data points. Model fitting is the bridge between models and data, allowing easy inference of other values. Use linear and nonlinear fitting algorithms that use objectives including least squares, least absolute deviation, LASSO and ridge regression.
Immediately leverage commercial solvers from Gurobi, MOSEK and FICO Xpress. For large-scale and mixed-integer optimization, best-in-class solvers can provide the needed edge. The optimization functions can automatically use methods for which you have a license.
Wolfram Optimization Documentation
Wolfram Optimization is an integrated part of the Wolfram Language. The full system contains over 6,000 built-in functions covering all areas of computation—all carefully integrated so they work perfectly together.
Full Scope & Documentation