forum.alglib.net http://forum.alglib.net/ |
|
minqp_d_bc1 ** my own example does not work http://forum.alglib.net/viewtopic.php?f=2&t=2368 |
Page 1 of 1 |
Author: | PeterTheRascal [ Sun May 24, 2015 8:22 pm ] |
Post subject: | minqp_d_bc1 ** my own example does not work |
I have added "a standard" test example to your minqp_d_bc1 and the result should be {1,1,1,1,1} but instead returns rubbish. real_1d_array b = "[-2.,0.,0.,0.,0.]"; real_1d_array s = "[1,1,1,1,1]"; real_2d_array c = "[[1.,1.,1.,1.,1.,5.0], [0.,0.,1.,-2.,-2.,-3.0]]"; integer_1d_array ct = "[0,0]"; real_2d_array a = "[[2.,0.,0.,0.,0.],[0.,2.,-2.,0.,0.],[0.,-2.,2.,0.,0.],[0.,0.,0.,2.,-2.],[0.,0.,0.,-2.,2.]]"; // desired ans={1,1,1,1,1} ** but does not work!!; Have I made a silly mistake? |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |