Search found 2 matches

by bcdcav
3 years ago
Forum: Solvers
Topic: Marginal Costs are different when constraints are set using x.lo and x.up
Replies: 2
Views: 3501

Re: Marginal Costs are different when constraints are set using x.lo and x.up

I totally understand that, but there is no change in constraints as I already have constraint equations on x. The difference occurs when I explicitly state x's bounds via x.lo and x.hi instead of using x(i,dl) =L= MaxGen(i) and x(i,dl) =G= MinGen(i,dl). However, the same marginal costs are displayed...
by bcdcav
3 years ago
Forum: Solvers
Topic: Marginal Costs are different when constraints are set using x.lo and x.up
Replies: 2
Views: 3501

Marginal Costs are different when constraints are set using x.lo and x.up

While minimizing a cost function with constraints specified as equations, I get 0 for all marginal values, but if I use x.lo and x.up (x is a variable) then I get a bunch of different marginal values. In both scenarios, optimized value stays the same and constraints are followed. Why is there a diff...