Closed
Description
The following example gives me a segmentation fault:
var bool: b;
var string: s = if b then "foo" else "bar" endif;
I came across this because I have a model with some choices for the solver to make and some variables that depending on the choice do not matter any more. I do not want these irrelevant variables in my output any more, like this:
var bool: b; var 0..10: i; var 5..15: j;
output [ if b then "i=\(i)" else "j=\(j)" endif ];
solve maximize if b then i else j endif;
I guess this is not possible so far, right?