The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: quadprog too slow
Replies: 14   Last Post: Nov 28, 2012 10:09 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 67
Registered: 12/13/04
Re: quadprog too slow
Posted: Jul 11, 2012 4:00 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I was able to speed up my solver significantly using the following recommendations from the documentation:

If you have a convex problem, or if you don't know whether your problem is convex, use interior-point-convex.
If you have only bounds, or only linear equalities, use trust-region-reflective.
If you have a nonconvex problem that does not satisfy the restrictions of trust-region-reflective, use active-set.

"Min " <> wrote in message <gcdn8b$6pn$>...
> Hi Johan,
> Clpmex seems to need a license. Therefore, bpmpdmex might be the only free option for large-scale sparse QP problems.
> However, the bpmpdmex that I downloaded only has a pre-compiled 32bit linux version.
> Do you know how to compile bpmpdmex for a 64bit linux machine? The reason I can'y compile it is because I do not find the source code of bpmpd and any documents on using bpmpdlib.
> Best,
> -MS
> "Johan L?fberg" <> wrote in message <g1m7o1$dgi$>...

> > "hicham bouchnaif" <> wrote in message
> > <g1kut8$g50$>...

> > >
> > > > The alternatives are interfaced to MATLAB, or do you mean
> > > > that you won't accept mex?

> > >
> > > no it's just a matter of accuracy, I ll try this OOQP stuff
> > > and see how it works.
> > >
> > > Regards
> > >
> > >

> >
> > Correct, QPC is not applicable due to sparsity. clpmex
> > should work straight out of the box, so will bpmpdmex. I
> > think I had problems obtaining compiled versions of ooqp
> > last time I tried.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.