why doesn't inequaility constraint work
Posted: Fri Nov 29, 2013 5:16 pm
Dear all,
I am trying to solve a problem with a constraint on one variable "bstar" as postive with upper bound (say 0.1). I attempt to use either the function of exp() or abs() whenever "bstar" appears, and also add an equation "exp(b)+bstar=0.1" to attain such end yet find that "bstar" can be much larger than 0.1 in my stochastic simulation. I cannot figure out why it occurs. How can I deal with it? I really appreciate your help. Thanks a lot!
I am trying to solve a problem with a constraint on one variable "bstar" as postive with upper bound (say 0.1). I attempt to use either the function of exp() or abs() whenever "bstar" appears, and also add an equation "exp(b)+bstar=0.1" to attain such end yet find that "bstar" can be much larger than 0.1 in my stochastic simulation. I cannot figure out why it occurs. How can I deal with it? I really appreciate your help. Thanks a lot!