Search found 2 matches

by khanalb
6 years ago
Forum: Modeling
Topic: loop and if statement
Replies: 0
Views: 2474

loop and if statement

let us suppose there are three equation and three variable and want to solve for several year and Equation1=G=10 Equation2=G=15 Equation3=G=16 whether it is possible or not if Equation 2=G=-15 with negative constraints in second year but I want to drop these equation2 because i need only positive co...
by khanalb
6 years ago
Forum: Modeling
Topic: if parameter value in every subsequent year depends on previous year value
Replies: 0
Views: 2427

if parameter value in every subsequent year depends on previous year value

let us suppose parameter value 10 & 20 for 1 st year 3x1+5x2=G=10 x1+7x2=G=20 if solving equation in 1 year getting the value p1 & q1 which is =G=10 & 20 for second year 3x1+5x2=G=10-(p1-10) if value 10-(p1-10) is neg then leave the equation 1 in second year x1+7x2=G=20-(q1-10) for third...