forum.alglib.net

ALGLIB forum
It is currently Thu Jun 27, 2019 10:52 am

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: minqp_d_bc1 ** my own example does not work
PostPosted: Sun May 24, 2015 8:22 pm 
Offline

Joined: Thu Apr 30, 2015 10:43 pm
Posts: 2
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group