forum.alglib.net http://forum.alglib.net/ |
|
No quadratic program in VB.NET version? http://forum.alglib.net/viewtopic.php?f=2&t=445 |
Page 1 of 1 |
Author: | Reg Bust [ Wed Sep 21, 2011 4:48 pm ] |
Post subject: | No quadratic program in VB.NET version? |
Hi I've just downloaded the VB.NET of AlgLib. I have include XAlglib in my project and added a reference to the AlglibNet2.dll. Everything is OK, except I can reference any of the quadratic programming methods that I see in the documentation. I want to call the following (as per the example) Dim state As minqpstate = New XAlglib.minqpstate() Dim rep As minqpreport = New XAlglib.minqpreport() xalglib.minqpcreate(2, state) but none of these exist in XAlglib. Are they not available in the VB.NET version? Also, at one place in the documentation it says that you can have linear constraints with "qp", but elsewhere in the documentation it only shows a method to set simple bounds. Is there a method that allows me to specify linear constraints for a quadratic programming. I want to impose a simple "sum to 1" constraint. Thank you Dr Reg Bust |
Author: | Sergey.Bochkanov [ Wed Sep 21, 2011 6:08 pm ] |
Post subject: | Re: No quadratic program in VB.NET version? |
That's very strange - minqp is present in the VB.NET and it was tested. I mean that there was code which used it, and that code was successfully compiled and executed at test PC. Maybe you have some problems with your VB installation? As for linear constraints - unfortunately, there is an error in the docs. In the current version only simple constraints are present. |
Author: | Reg Bust [ Wed Sep 21, 2011 6:31 pm ] |
Post subject: | Re: No quadratic program in VB.NET version? |
It is not in my XAlgLib.Vb. If I search for "Minqp" it is not found. Can you please send me a XAlglib.vb that has all the "qp" procedures. Thank you. |
Author: | Sergey.Bochkanov [ Thu Sep 22, 2011 4:57 am ] |
Post subject: | Re: No quadratic program in VB.NET version? |
What release you've downloaded? 3.4.0 or earlier? I've checked latest one - http://www.alglib.net/translator/re/alg ... .vbnet.zip - it contains minqp functionality. |
Author: | Reg Bust [ Thu Sep 22, 2011 5:31 am ] |
Post subject: | Re: No quadratic program in VB.NET version? |
I re-downloaded it, and not the quadratic stuff is there. Thank you. |
Author: | Sergey.Bochkanov [ Thu Sep 22, 2011 10:58 am ] |
Post subject: | Re: No quadratic program in VB.NET version? |
I have to check it one more time. Unfortunately, system I use for testing is in another office, and I will be there only at the end of the day. So it may take some time. |
Author: | Reg Bust [ Thu Sep 22, 2011 1:07 pm ] |
Post subject: | Re: No quadratic program in VB.NET version? |
Sorry, I meant to say that the quadratic stuff IS there. (I don't know where the "not" slipped in.) I am busy trying to get it to work. I apologise for wasting your time. |
Author: | Sergey.Bochkanov [ Thu Sep 22, 2011 1:16 pm ] |
Post subject: | Re: No quadratic program in VB.NET version? |
That's OK, I haven't started working on it yet :) However, I am happy that you've said it right now, not several hours later :) Good luck with QP, and feel free to ask questions - I always glad to hear feedback because it helps to drive development in right direction. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |