Skip to Main Content Skip to Search
Product Documentation

Version 3.2 (R2011b) Global Optimization Toolbox Software

This table summarizes what's new in Version 3.2 (R2011b).

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known Problems

Yes
Details below

Yes–Details labeled as Compatibility Considerations, below. See also Summary.

Bug Reports

New features and changes introduced in this version are described here:

Mixed Integer Nonlinear Programming in Genetic Algorithm Solver

The ga function now allows you to specify that certain variables are integer valued. When you include integer constraints, you can have any objective function, bounds, and inequality constraints, but you cannot directly include equality constraints. To try to circumvent this limitation, see No Equality Constraints.

For details on mixed-integer programming, see the ga function reference page or Mixed Integer Optimization.

New Demo

There is a new demo of ga for mixed integer programming. Run the demo at the MATLAB command line by entering echodemo weldedBeamDemo.

Conversion of Error and Warning Message Identifiers

For R2011b, error and warning message identifiers have changed in Global Optimization Toolbox.

Compatibility Considerations

If you have scripts or functions that use message identifiers that changed, you must update the code to use the new identifiers. Typically, message identifiers are used to turn off specific warning messages, or in code that uses a try/catch statement and performs an action based on a specific error identifier.

For example, the 'globaloptim:EQNSOLV:sparseToFull' identifier has changed to 'globaloptim:eqnsolv:eqSparseToFull'. If your code checks for 'globaloptim:EQNSOLV:sparseToFull', you must update it to check for 'globaloptim:eqnsolv:eqSparseToFull' instead.

To determine the identifier for a warning, run the following command just after you see the warning:

[MSG,MSGID] = lastwarn;

This command saves the message identifier to the variable MSGID.

To determine the identifier for an error, run the following command just after you see the error:

exception = MException.last;
MSGID = exception.identifier;

  


Free Optimization Interactive Kit

Learn how to use optimization to solve systems of equations, fit models to data, or optimize system performance.

Get free kit

Trials Available

Try the latest version of optimization products.

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