Mercurial > octave-nkf
comparison scripts/optimization/sqp.m @ 19630:0e1f5a750d00
maint: Periodic merge of gui-release to default.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 20 Jan 2015 10:24:46 -0500 |
parents | f58a6cd3f909 446c46af4b42 |
children | db92e7e28e1f |
comparison
equal
deleted
inserted
replaced
19626:37d37297acf8 | 19630:0e1f5a750d00 |
---|---|
414 | 414 |
415 info = INFO.info; | 415 info = INFO.info; |
416 | 416 |
417 ## FIXME: check QP solution and attempt to recover if it has failed. | 417 ## FIXME: check QP solution and attempt to recover if it has failed. |
418 ## For now, just warn about possible problems. | 418 ## For now, just warn about possible problems. |
419 | 419 |
420 id = "Octave:SQP-QP-subproblem"; | 420 id = "Octave:SQP-QP-subproblem"; |
421 switch (info) | 421 switch (info) |
422 case 2 | 422 case 2 |
423 warning (id, "sqp: QP subproblem is non-convex and unbounded"); | 423 warning (id, "sqp: QP subproblem is non-convex and unbounded"); |
424 case 3 | 424 case 3 |