Question acording the LQPROG

For questions that don't fall into one of the categories above, such as working with the RATS interface, using Wizards, etc.
Finn Weiss
Posts: 15
Joined: Fri Apr 24, 2015 8:48 am

Question acording the LQPROG

Unread post by Finn Weiss »

Hey,

i have some problems using the lqprog or more procisly undertanding the error message and its reason: ## LPQ5. Active set method does not converge.
When i activate the trace comand, i got the feeling it does converge. I have created a file with four examples. Example 1,3 and 4 are leading to the error message. 2 does not. I have made coment in the file according the difference between the examples. Maybe someone is able to explain me, why the examples are leading to the errors.

Best Regards
Attachments
Test lqprog.RPF
(3.13 KiB) Downloaded 1737 times
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Question acording the LQPROG

Unread post by TomDoan »

The first one is easy---the 3rd and 6th variables aren't identified.

In general, all of your Q matrices aren't positive semi-definite; all have a slightly negative eigenvalue, but not a trivially small one. I don't know if you've lost too much precision in copying the information from another source, or whether that's a design flaw generally. Yes, it does look like they're converged, but the Lagrange multipliers are likely not settling down and that's required for it to be sure that it's converged.
Finn Weiss
Posts: 15
Joined: Fri Apr 24, 2015 8:48 am

Re: Question acording the LQPROG

Unread post by Finn Weiss »

Thanks Tom for this answer. Its helping a lot. :D
That variable 3 and 6 are not identified in the first example was desired, so i already thought that this might a problem. Since i got the other examples too, i was still wondering what might cause the problems. Thanks to your answer i know it now and can check for it.
Post Reply