OptimisationVariableList

A list of OptimisationVariable items.

Usage locations

The OptimisationVariableList object can be accessed from the following locations:

Method List

Append ()
Appends a new item to the list. (Returns a OptimisationVariable object.)
Clear ()
Clears the list.
Count ()
Returns the number of items in the list. (Returns a number object.)
Get (index number)
Returns the item at the given index. Indexing starts at 1. (Returns a OptimisationVariable object.)
Remove (index number)
Removes an item from the list.

Method Details

Append ()
Appends a new item to the list.
Return
OptimisationVariable
The new value that was appended to the list.
Clear ()
Clears the list.
Count ()
Returns the number of items in the list.
Return
number
The number of items in the list.
Get (index number)
Returns the item at the given index. Indexing starts at 1.
Input Parameters
index(number)
The index of the item to return.
Return
OptimisationVariable
The value at the given index.
Remove (index number)
Removes an item from the list.
Input Parameters
index(number)
The index of the item to remove.