Skip to Main Content Skip to Search
Product Documentation

evaluateEqCon - Evaluate optimization nonlinear equality constraints

Syntax

Y = evaluateEqCon(optimstore, X)

Description

A method of cgoptimstore.

Y = evaluateEqCon(optimstore, X) evaluates all of the nonlinear equality constraints in the optimization at the free variable values X. X must be a (NPoints-by-NFreeVar) matrix where NPoints is the number of points to be evaluated and NFreeVar is the number of free variables in the optimization. The values of the constraints are returned in Y, which is of size (NPoints-by-NItems) where NItems is the number of nonlinear equality constraints in the optimization.

If you enable scaling of the optimization items, then the evaluation of Y is approximately scaled onto [-1 1]. See Scale Optimization for more information on scaling.

Negative values of Y imply X is feasible.

How To

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS