Initializing help system before first use

problem.getobj

problem.getobj


Purpose
Returns the objective function coefficients for the columns in a given range.
Synopsis
problem.getobj (obj, first, last)
Arguments
obj 
Array of length last-first+1 where the objective function coefficients are to be placed.
first 
First column in the range.
last 
Last column in the range.
Example
The following example retrieves the objective function coefficients of the first five variables of the current problem:
obj = []
p.getobj (obj, 0, 4)
Related topics