next up previous contents Back to SYMPHONY Home Page
Next: sym_set_obj2_coeff Up: Data Modification Functions Previous: Data Modification Functions

sym_set_obj_coeff

double *sym_set_obj_coeff(sym_environment *env, int index, double value)

Description:

This routine is used to set an objective coefficient.

Arguments:

sym_environment *env INOUT Pointer to the SYMPHONY environment.
int index IN Index of the objective coefficient to be modified. Note that, it has to be at most the number of columns.
double value IN New objective value of the corresponding column.

Return values:

FUNCTION_TERMINATED_NORMALLY Function invoked successfully.
FUNCTION_TERMINATED_ABNORMALLY Function invoked unsuccessfully.





Ted Ralphs
2004-11-11