Wolfram Language

Solve Vector and Matrix Optimization Problems

Version 12 provides new functionality for expressing vector, matrix and tensor variables and conditions. This allows you to use a higher-level language to formulate the problem. This example shows how such conditions can be used in exact optimization functions.

Minimize a vector norm subject to dot product and vector inequality constraints.

Visualize the solution.

show complete Wolfram Language input

Find the maximal eigenvalue of a matrix and a corresponding eigenvector.

Compare with the output of Eigensystem.

Maximize the determinant of a positive semidefinite 3×3 matrix with trace 1.

Related Examples

de es fr ja ko pt-br zh