the algorithm options

10 views
Skip to first unread message

greenturtle

unread,
Sep 17, 2009, 12:43:11 AM9/17/09
to KNITRO Nonlinear Optimization Solver
Hi,

I am currently solving a QCP coded in C. The problem is solved
correctly when I set the algorithm to be direct or cg. However, when I
set the alogorithm option to be active, I got "Segmentation fault". I
wonder what could be the source of such an error comes from. (My
setting for the gradopt is forward and for the hessopt is bfgs.)

Thanks,
Yu-Ching(UIUC)

nomont

unread,
Sep 17, 2009, 3:15:54 AM9/17/09
to KNITRO Nonlinear Optimization Solver
Dear Yu-Ching,

The first thing to check is whether there are out of bound errors at
run time.
Which OS do you use ?
If you use Linux or Mac OS X, you may try to "valgrind" your code
(http://valgrind.org/).
If you use Windows, similar tools like Boundchecker or even some
features of Visual C++ might help you to detect out of bound errors.

Best regards.

Nicolas Omont.
--
Nicolas OMONT
Artelys, distributor of Knitro
12 rue du Quatre Septembre
F-75002 Paris
Tel : +33.1.44.77.89.00
Fax : +33.1.42.96.22.61
http://www.artelys.com
Reply all
Reply to author
Forward
0 new messages