Prashant-Jonny / accord

Automatically exported from code.google.com/p/accord
0 stars 0 forks source link

Problem in Constrained Optimization Solver #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Start Visual C# 2010 and Open the Samples.sln installed in C:/Program 
Files/Accord.Net/Framework/Samples and Launch the solver Project
2.The Form shows Objective Min 2x² + xy + y² - 5y.
 Put the constraints as :
-x - 3y >= -2
-x - y >= 0
x >= 0
y >= 0

3.Click Compute

What is the expected output? What do you see instead?
the only feasible point is x=0,y=0 which should be the solution

the solution given by the Form is: 
Solution:

 2x² + xy + y² - 5y = 0.0947319461552687

 x = -0.44079027173455
 y = 0.44079027173455

which does not respect the constraint x>=0

What version of the product are you using? On what operating system?
I am using the version 2.6.1 of the library Accord.Net on windows XP and using 
visual c# 2010

Please provide any additional information below.

Original issue reported on code.google.com by youssefa...@gmail.com on 1 Jun 2012 at 3:45

GoogleCodeExporter commented 9 years ago
Thanks for reporting the issue. It will be fixed in the next release.

Original comment by cesarso...@gmail.com on 3 Jun 2012 at 7:54

GoogleCodeExporter commented 9 years ago
Fixed in 2.7

Original comment by cesarso...@gmail.com on 24 Jul 2012 at 3:05