After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 629880 - NLSolve ignores constraints
NLSolve ignores constraints
Status: RESOLVED DUPLICATE of bug 620368
Product: Gnumeric
Classification: Applications
Component: Analytics
1.10.x
Other Windows
: Normal minor
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2010-09-16 22:54 UTC by Mickle.Mouse
Modified: 2010-09-16 23:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mickle.Mouse 2010-09-16 22:54:19 UTC
The NLsolve appears to ignore constraints when finding a solution.

Example:
A2 = (B2-4)*(B2-4) + (C2-2)*(C2-2)

B2 = parameter
C2 = parameter

D2 = B2*B2 + C2*C2
------------------
Max A2
By changing B2:C2

Model: Non-Linear Model

Constraints
D2 < 36
------------------

Understandably some constraints can be very difficult to implement in a nonlinear environment.  I recommend that in the short run, just let the users know that nonlinear optimization does not currently respect constraints.
Comment 1 Mickle.Mouse 2010-09-16 23:10:25 UTC
Sorry this is a duplicate of bug 5 in https://bugzilla.gnome.org/show_bug.cgi?id=620368
Comment 2 Morten Welinder 2010-09-16 23:58:27 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 620368 ***