Skip to Main Content Skip to Search
Product Documentation

nEvaluateObjective - Natural evaluation of optimization objectives

Syntax

y = nEvaluateObjective(optimstore, x)
Y = nEvaluateObjective(optimstore, x, itemNames)

Description

Natural evaluation of optimization objectives. A method of cgoptimstore.

Y = nEvaluateObjective(optimstore, x) evaluates all of the optimization objectives 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 raw values of the objectives are returned in Y, which is of size (NPoints-by-NItems) where NItems is the number of objectives in the optimization.

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

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