next up previous external Back to SYMPHONY Home Page
Next: user_is_feasible Up: User-written functions of the Previous: user_create_lp

user_get_upper_bounds

int user_get_upper_bounds(void *user, int varnum, int *indices, double *ub)

Description:

The user has to return the upper bounds of the variables whose user indices are given. Note that space for ub is already allocated when this function is invoked. There is no post-processing. The default is to set all the upper bounds to 1.

Arguments:

tabular1343

Return values:

tabular1345

Wrapper invoked from:
add_col_set() (when SYMPHONY adds columns after pricing out) and from create_lp_u() (when SYMPHONY has to get the bounds on the extra variables in the new active node).

Note:

Only the upper bounds for extra variables are ever asked for since the array of bounds for the base variables is always maintained. Lower bounds for the extra variables must be zero and hence there is no corresponding function for lower bounds.



Ted Ralphs
Fri Feb 11 13:47:59 CST 2000