I have a (n x p) matrix of FV parameters in a MINLP problem.
When I define the FV's using list comprehension as below, I end up getting an in feasibility
for i in range(n):
test[i] = [m.FV(lb=0, ub=1, integer=True, name="example) for j in range(p)]
On the other hand, when I use an array I do get a solution quickly.
for i in range(n):
test[i] = m.Array(m.FV, p, lb=0, ub=1, integer=True)
I would like to add variable names to my FV's so that I can quickly troubleshoot and select the parameters in the optimal solution. This is fairly straight forward with the list comprehension, but with the array my only option seems to make duplicate names, which isn't too useful.