>>>>> "a" == ayaa <ayaafa...@gmail.com> writes:
a> I have three questions: a> 1. If I have a variable that is stored in a data set and I want to a> formulate only one constraint (under optmodel) that is a function of a> all the data set's observations of this variable and a decision a> variable. Suppose the a> variable is a and x is the decision variable. My a> constraint is: [(maximum value of a) +x ] / [(minimum value of a) +x ] a> < maximum value of (a) / minimum value of (a), can you a> help me to include this constraint under optmodel? a> 2. If there is one scalar number that is a result of certain a> calculations and the it is stored in a dataset and I want to equate a a> constraint with this scalar, can you help me to do this? a> 3. If there is one scalar number that is a result of certain a> calculations and it is stored in a dataset and I want to include this a> scalar in "sum" operator. Suppose there are also two stored variables a> that are a and b, and x is a decision variable and the scalar is c, I a> want c to appear as in the following constraint: a> sum over i for [ c*(ai)^2 * bi/ (ai+x)] = 0.5 , can you help me a> to do this under optmodel? and your perl question is? even if optmodel is some perl package (which i never have heard of), this would be beyond the level for a beginner's list. please find an optmodel list/forum to ask this. uri -- Uri Guttman ------ u...@stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/