https://bugs.documentfoundation.org/show_bug.cgi?id=80847

Rafael Lima <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #2 from Rafael Lima <[email protected]> ---
> Is there some problem with allowing "not equal"? I would need this condition
> in my task sheet :(

Linear and non-linear solvers only work with "=", "<=" and ">=" operators. The
explanation is a bit complicated, but it comes from the standard representation
of mathematical programming models.

For instance, Excel solver, OpenSolver for Excel and professional solvers as
Gurobi only accept constraints of "=", "<=" and ">=" types.

Mathematically you can approximate "<>" constraints adapting your model using
the explanation in [1] given by Kuifje, but you'd have first to estimate M. So
it is not trivial.

[1]
https://math.stackexchange.com/questions/37075/how-can-not-equals-be-expressed-as-an-inequality-for-a-linear-programming-model/1517850

Closing this as NOTABUG.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to