Syntax Proposals / Len
Is your feature request related to a problem? Please describe.
When importing arrays, we need to know while writing the model the size of the imported array, as it is needed to generate the i
of the for loop. Something this can be quite inconvenient.
Describe the solution you'd like A method to know the size of an array would be helpful:
#PARAMETERS
x = import "file_with_unknown_length.csv"
#CONSTRAINTS
a == sum(x[i] for i in [0:len(x)-1]);
Describe alternatives you've considered See #13.