Initializing help system before first use

addcols

Purpose
Adds columns to the optimizer matrix.
Synopsis
addcols(
prob,
objcoef,
start,
rowind,
rowcoef,
lb,
ub,
ncols = x_max_vec_length(objcoef, lb, ub),
ncoefs = x_max_vec_length(rowind, rowcoef)
)

Arguments
prob 
The current problem.
objcoef 
Double array of length ncols containing the objective function coefficients of the new columns.
start 
Integer array of length ncols containing the offsets in the rowind and rowcoef arrays of the start of the elements for each column.
rowind 
Integer array of length ncoefs containing the row indices for the elements in each column.
rowcoef 
Double array of length ncoefs containing the element values.
lb 
Double array of length ncols containing the lower bounds on the added columns.
ub 
Double array of length ncols containing the upper bounds on the added columns.
ncols 
Number of new columns.
ncoefs 
Number of new nonzeros in the added columns.
Return value
The input argument prob.

© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.