Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
bug in conditional forecast #1276
The conditional forecast is buggy.
Namely there is some inconsistency in indexing between decision rule and declaration order.
The way to fix it is to make sure that the pre-processor sets the vector of indices:
@houtanb In principle this could be fixed without touching the pre-processor, however I have a strange case where the preprocessor provides a non-sense index for the constrained variable, which does not match the true variable [and actually the index is even larger than the # of variables].