> 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 received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1336763

Title:
  [Upstream] Libreoffice Solver does not allow "not equal to" operator
  limiting condition

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1336763/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to