forum.alglib.net

ALGLIB forum
It is currently Mon Nov 25, 2024 9:41 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  [ 3 posts ] 
Author Message
 Post subject: Linear least squares with bounds
PostPosted: Wed Apr 11, 2012 9:59 am 
Offline

Joined: Tue Apr 03, 2012 9:04 pm
Posts: 7
Hello,
could someone please help me with how to do linear least squares with known upper ub and lower bounds lb when I know matrix C (measurements) and vector d (results) and I need to get vector x within bounds?

like I would do in MATLAB:
Code:
x = lsqlin([C],[d],[],[],[],[],lb,ub)


I have no problems with using lsfitlinear. But it, probably, does not allow boundaries. So I tried minbleic and also lsfitcreatef, but with no success.
I am struggling with it for few days already, could anyone help please?

Many thanks
hugo


Top
 Profile  
 
 Post subject: Re: Linear least squares with bounds
PostPosted: Fri Apr 27, 2012 2:36 pm 
Offline

Joined: Tue Apr 03, 2012 9:04 pm
Posts: 7
Does anybody in this forum have an idea if alglib can do it?


Top
 Profile  
 
 Post subject: Re: Linear least squares with bounds
PostPosted: Fri Jan 25, 2013 12:40 pm 
Offline

Joined: Fri Jan 25, 2013 6:51 am
Posts: 3
I'd like to know the answer to this exact same question too. Did you manage to do this?


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group