Closed harshangrjn closed 4 years ago
Reporting a bug in objective parsing for this example:
@variable(m, 1 <= h[1:2] <= 2) @NLobjective(m, Min, (2*(h[1] - h[2]))^2) @constraint(m, h[1] + h[2] >= 0.5)
where, error is ERROR: LoadError: Alpine currently supports^operator with only positive integer exponents. However, objectives of this type are fine and provides correct solutions: 4*(h[1] - h[2])^2 and (2*h[1] - 2*h[2])^2
ERROR: LoadError: Alpine currently supports
operator with only positive integer exponents
4*(h[1] - h[2])^2
(2*h[1] - 2*h[2])^2
Reporting a bug in objective parsing for this example:
where, error is
ERROR: LoadError: Alpine currently supports
^operator with only positive integer exponents
. However, objectives of this type are fine and provides correct solutions:4*(h[1] - h[2])^2
and(2*h[1] - 2*h[2])^2