Re: [ojAlgo-user] Using ojalgo libray as QP solver
Mathematics, linear algebra and optimisation
Brought to you by:
apete
From: Anders P. <an...@op...> - 2012-04-12 13:13:30
|
What info about the matrices are you looking for? The QuadraticSolver javadoc states: "You construct instances by using the QuadraticSolver.Builder class. It will return an appropriate subclass for you. It's recommended that you first create a QuadraticExpressionsModel and feed that to the QuadraticSolver.Builder." http://ojalgo.org/generated/org/ojalgo/optimisation/quadratic/QuadraticSolver.html With the latest changes I've made you should no longer use QuadraticExpressionsModel. Instead you should use its parent class ExpressionsBasedModel. Models also have a getDefaultSolver() method that will call the appropriate/default Builder for you. The list archives are searchable... http://sourceforge.net/search/index.php?group_id=79000&type_of_search=mlists&q=quadratic&ml_name%5B%5D=ojalgo-user&posted_date_start=&posted_date_end=&form_submit=Search /Anders On 12 apr 2012, at 14:53, Amandeep Gautam wrote: > Hi, > I want to use ojalgo library for Quadratic programming but have the following problem: The frmulation of the quadratic program is given as > > min 1/2 [X]T[Q][X] - [C]T[X] > when [AE][X] == [BE] > and [AI][X] <= [BI] > > but no information about [BI], [BE], [AI], [AE] and [Q] has been given. Also are no constructors through which you can input the value of these parameters. > > Looking forward for a positive response. > > Regards, > Aman Deep Gautam > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2_______________________________________________ > ojAlgo-user mailing list > ojA...@li... > https://lists.sourceforge.net/lists/listinfo/ojalgo-user |