Thread Subject: explicitly choose from ktrlink

Subject: explicitly choose from ktrlink

From: Sandro

Date: 22 May, 2011 19:33:02

Message: 1 of 2

Dear All,

Could anyone who has used ktrlink as an optimizer give a simple example of how to choose the three different optimizers given by ktrino, namely,

Interior/Direct
Interior/CG
active-set

in matlab?

The help files given in matlab and ziena neither explicitly explain how to set it.

At least, the 'option' setting will report an error if we use one of the above three key words for 'Algorithm'.

Thanks a lot~

Best,
Sandro

Subject: explicitly choose from ktrlink

From: Nicolas

Date: 23 May, 2011 08:28:04

Message: 2 of 2

Dear Sandro,

According to http://www.mathworks.com/help/toolbox/optim/ug/bri1v58-2.html, there are 2 options:
- Either use the fmincon-format options structure named ktropts and set 'Algorithm' to one of these value:
    * 'interior-point' (default)
           - If you want the direct alg, then set 'SubProblemAlgorithm' to 'ldl-factorization' (default)
           - If you want the direct alg, then set 'SubProblemAlgorithm' to 'cg'
    * 'active-set'
- Or create a KNITRO option file as described in KNITRO documentation in which you can select the algorithm and pass the path to it to ktrlink.

Best regards.

Nicolas.

"Sandro" wrote in message <irbode$qlp$1@newscl01ah.mathworks.com>...
> Dear All,
>
> Could anyone who has used ktrlink as an optimizer give a simple example of how to choose the three different optimizers given by ktrino, namely,
>
> Interior/Direct
> Interior/CG
> active-set
>
> in matlab?
>
> The help files given in matlab and ziena neither explicitly explain how to set it.
>
> At least, the 'option' setting will report an error if we use one of the above three key words for 'Algorithm'.
>
> Thanks a lot~
>
> Best,
> Sandro

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com