Optimize tab
Contents
- 1 Introduction
- 2 Optimize Tab Controls
- 2.1 Data Set Menu
- 2.2 Analysis Menu
- 2.3 Algorithm Menu
- 2.4 Objective Function Menu
- 2.5 Edit Ranges Button
- 2.6 Edit Targets Button
- 2.7 Side Constraints Checkbox
- 2.8 Constraint Menu
- 2.9 Animate Checkbox
- 2.10 Animation Settings Button
- 2.11 Save Settings Button
- 2.12 Load Settings Button
- 2.13 Algorithm Settings Table
- 2.14 Start/Stop Button
- 2.15 Continue Button
- 2.16 Batch Button
- 2.17 Save/Export Results Button
- 3 If Something Breaks...
Introduction
The Optimize Tab is where you set up and run optimizations.
The controls on the Optimize Tab are arranged from top to bottom in the order in which you should use the controls. The sections below also follow this order, so you can read this page from top to bottom to learn the process of setting up and running optimization.
The Optimize Tab is shown below with its controls labeled. See the Appropriate section below for help on a particular control.
Optimize Tab Controls
Data Set Menu
Analysis Menu
Algorithm Menu
Objective Function Menu
Edit Ranges Button
Edit Targets Button
Side Constraints Checkbox
Constraint Menu
Animate Checkbox
Animation Settings Button
Save Settings Button
Load Settings Button
Algorithm Settings Table
Linking settings to problem parameters
Settings that require numerical values can be specified by directly entering the desired number into the settings table, or by entering a function of one or more of the following variables:
- nVars = the number of independent variables (Rave determines this automatically based on the function that calculates the variable selected to serve as the objective
- numberofequalities = the number of equality constraints
- numberofinequalities = the number of inequality constraints (excluding upper/lower bounds on the independent variables
- numberofbounds = the number of bound constraints (since in Rave each variable has an upper and a lower bound, this is always even)
The variable names must appear exactly as shown here (case sensitive).
Start/Stop Button
Continue Button
Batch Button
Save/Export Results Button
If Something Breaks...
Unlike the other tabs, Rave saves the current state of the optimize tab when you switch to another tab, and restores it when you switch back to the optimize tab. This means that if something on the Optimize Tab breaks, simply switching tabs will not restore it to working order. The most common cause for this is if you are debugging an optimizer and you quit the optimizer from MATLAB's debug mode. This will cause the Stop button to not turn back into a Start button.
If this happens, you can completely reset the Optimize Tab by doing either of the following:
- Click the "Rave" Logo that appears below the tabs. This will completely reset the tabs and will display the Manage tab.
- Enter full screen mode by clicking the Fullscreen mode button or by right clicking an empty place on the workspace and selecting "Full Screen Mode" from the context menu.