Page 1 of 1

How to use the result of one model as the initial value of another model?

Posted: Sun May 13, 2018 2:46 pm
by wutuhan
How can I use the result of one model as the initial value of another model conveniently? Must I copy and paste the values one by one?

Re: How to use the result of one model as the initial value of another model?

Posted: Mon May 14, 2018 5:03 am
by cladelpino
If there are two solve statements in the same file, in the second one every shared variable will have its value (.l attribute) set by the first solve.

Re: How to use the result of one model as the initial value of another model?

Posted: Mon May 14, 2018 6:13 am
by wutuhan
Thank you!