forum.alglib.net

ALGLIB forum
It is currently Mon Dec 23, 2024 12:05 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: Cholesky VS BLEIC
PostPosted: Thu Jul 17, 2014 2:29 pm 
Offline

Joined: Thu Jul 17, 2014 2:05 pm
Posts: 1
I am trying to solve this optimization problem with one of the two solvers mentioned above.
Problem:
f(x) = (.5)x'Hx + f'x
Quadratic constraints:
lowerBound <= x <= upperBound
Linear constraints(if they exist):
(Aineq)x <= (bineq)
(Aeq)x = (beq)
I am building my constraints matrix properly
A = [Aeq;Aineq] B = [beq;bineq]--> c = [A,B] ct is a vector with 0's representing the equality rows and -1's representing inequality constraints

H is a Hessian Matrix
f is the vector for linear terms
I know all sizes are correct, because I can run this in Matlab. I would like to get it to run in C#. Is this possible with AlgLib?

I have attached some example input
Thank you for any assistance.


Attachments:
File comment: x0 is the initial solution file. Scaling is already taken care of
ExampleInput.zip [2.24 KiB]
Downloaded 723 times
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 35 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