help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] sensitivity analysis table in glpk


From: Yingjie Lan
Subject: Re: [Help-glpk] sensitivity analysis table in glpk
Date: Tue, 29 Dec 2009 01:34:33 -0800 (PST)

> 
> 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


      




reply via email to

[Prev in Thread] Current Thread [Next in Thread]