Skip to content

occbin: allow more general formulas for constraints

currently it is not possible to define constraints like:

bind logical((a>0).*(b>0))>0;

since preprocessor impedes the use of .* in the definition

since a and b are time series, then the evaluation of the constraint goes wrong since we are multiplying two vectors.

would this be something doable?

Edited by Marco Ratto