Hi @Ken_Lin, hopefully some answers:
- Yes
- The reduced cost is not the change in objective if the variable was increased by one unit, but the change in the objective with respect to an infinitesimal change in the variable that is then scaled to one unit. Think of it like
df/dxinstead off(x+1) - f(x). Presumably, a small increase intoyx[3]leads to a change in the other variables that cancels out the change in objective. (Iftoyx[3]increases, then by the second constraint,toyx[4]must decrease, etc) toys[4]is a non-basic variable at its upper bound of1. You can query basis information using Basis matrices · JuMP- Correct. There is no way to compute a reduced cost for arbitrary
x.
If you’re looking for sensitivity analysis, see