> 
> I wonder if it is possible for the API to support printing
> the sensitivity info for just one particular
> variable/constraint? This is useful when one is only
> interested in some of the sensitivity bounds.
> 

It might be even better if the API has routines to 
calculate the max increase and max decrease of the
bounds, for example:

/**sensitivity bounds for coeficient in the objective*/
glp_coef_sensit_bounds(GLP* lp, int var_idx, 
   double* max_dec, double* max_inc);,

/**sensitiviy bounds for the upper/lower bounds of a constraint*/
glp_con_bounds_sensit(GLP* lp, int con_idx,
   double* max_dec_lb, double* max_inc_lb,
   double* max_dec_ub, double* max_inc_ub);

/**sensitiviy bounds for the upper/lower bounds of a variable*/
glp_var_bounds_sensit(GLP* lp, int var_idx, 
   double* max_dec_lb, double* max_inc_lb,
   double* max_dec_ub, double* max_inc_ub);


Yingjie


      


_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to