forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 7:34 pm

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  [ 8 posts ] 
Author Message
 Post subject: No quadratic program in VB.NET version?
PostPosted: Wed Sep 21, 2011 4:48 pm 
Offline

Joined: Wed Sep 21, 2011 4:39 pm
Posts: 5
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

_________________
Thank you,
Regards
Reg Bust


Top
 Profile  
 
 Post subject: Re: No quadratic program in VB.NET version?
PostPosted: Wed Sep 21, 2011 6:08 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
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.


Top
 Profile  
 
 Post subject: Re: No quadratic program in VB.NET version?
PostPosted: Wed Sep 21, 2011 6:31 pm 
Offline

Joined: Wed Sep 21, 2011 4:39 pm
Posts: 5
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.

_________________
Thank you,
Regards
Reg Bust


Top
 Profile  
 
 Post subject: Re: No quadratic program in VB.NET version?
PostPosted: Thu Sep 22, 2011 4:57 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
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.


Top
 Profile  
 
 Post subject: Re: No quadratic program in VB.NET version?
PostPosted: Thu Sep 22, 2011 5:31 am 
Offline

Joined: Wed Sep 21, 2011 4:39 pm
Posts: 5
I re-downloaded it, and not the quadratic stuff is there.

Thank you.

_________________
Thank you,
Regards
Reg Bust


Top
 Profile  
 
 Post subject: Re: No quadratic program in VB.NET version?
PostPosted: Thu Sep 22, 2011 10:58 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
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.


Top
 Profile  
 
 Post subject: Re: No quadratic program in VB.NET version?
PostPosted: Thu Sep 22, 2011 1:07 pm 
Offline

Joined: Wed Sep 21, 2011 4:39 pm
Posts: 5
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.

_________________
Thank you,
Regards
Reg Bust


Top
 Profile  
 
 Post subject: Re: No quadratic program in VB.NET version?
PostPosted: Thu Sep 22, 2011 1:16 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
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.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 23 guests


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group