-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Labels
Description
Currently, prob = ADNLPProblems.clplatea(n=N) fails for all
sum(
sum(
1 // 2 * (x[i + (j - 1) * p] - x[i - 1 + (j - 1) * p])^2 +
hp2 * (x[i + (j - 1) * p] - x[i - 1 + (j - 1) * p])^4 for j = 2:p
) for i = 3:p
)Where sum( .... for i=3:p) to be over a non-empty collection.
Suggested fixes:
- Update the warning statement and properly adjust the number of variables to be 9 or greater.
- Or, depending on the province and if it makes sense, we may modify the above sum as
sum((... for i = 3:p); init=0.0); but then an issue would arise for$N < 4$ if similar action isn't taken to modify the two other sums inclplatea's definition.