Skip to Main Content Skip to Search
Product Documentation

setConstraintsMode - Set how optimization constraints are to be used

Syntax

options=setConstraintsMode(options, modestr)

Description

A method of cgoptimoptions. Sets the mode that governs how the user can set up constraints for the optimization in CAGE.

When modestr = any, the user can add any number of constraints.

When modestr = fixed, the user can only edit the constraints that are added by the user-defined optimization function.

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