Skip to Main Content Skip to Search
Product Documentation

nEvaluate - Natural evaluation of optimization objectives and constraints

Syntax

[y, ysums] = nEvaluate(optimstore, x)
Y = nEvaluate(optimstore, x, itemNames)
Y = nEvaluate(optimstore, x, itemNames, datasetName)
Y = nEvaluate(optimstore, x, itemNames, datasetName, rowind)

Description

Natural evaluation of optimization objectives and constraints. A method of cgoptimstore.

Y = nEvaluate(optimstore, x) evaluates the raw values of all of the optimization objectives and constraints at the free variable values X. X is 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.

Y = nEvaluate(optimstore, x, itemNames) evaluates the raw values of the objectives and constraints specified in the cell array of strings, itemNames, at the free variable values X. The values of the objectives and constraints are returned in Y, which is of size (NPoints-by-NItems) where NItems is the number of objectives and constraints listed in itemNames.

Y = nEvaluate(optimstore, x, itemNames, datasetName) evaluates the specified objectives and constraints at the operating points in the data set specified by the string datasetName.

Y = nEvaluate(optimstore, x, itemNames, datasetName, rowind) evaluates the specified objectives and constraints at the points of datasetName given by rowind. X must be a (NRows-by-NFreeVar) matrix where NRows is the length of rowind. rowind must be a list of integer indices in the range [1 NumRowsInDataset]. Y is a (Nrows-by-NItems) matrix.

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