Search found 2 matches

by cmarriola
1 year ago
Forum: Syntax
Topic: model solve status in conditional statement
Replies: 7
Views: 3635

Re: model solve status in conditional statement

Thanks, GFA.

Indeed. I was trying to set a compile time global variable with a run time mymodel.solveStatus. Using your second option works great. thanks for your help.

Kind regards,
Christine
by cmarriola
1 year ago
Forum: Syntax
Topic: model solve status in conditional statement
Replies: 7
Views: 3635

model solve status in conditional statement

Hello, I would like to use the model and solve status in a conditional statement. My initial thought was to create a global variable based on a condition and then use this global variable in a second condition statement. I am having trouble getting the first condition to work. My code: $setglobal so...