next up previous contents
Next: LINDO Up: Other third-Party Software Previous: GLPK   Contents

Knitro

Knitro is a nonlinear solver. See http://www.ziena.com/. Ziena does not provide source code for Knitro. You must download platform dependent binaries. In order to use Knitro with the OS project, perform the following steps.

Step 1:
Download knitro to the desired directory.

Step 2:
Copy the file nlpProblemDef.h from the examples/C++ directory to the include directory.

Step 3:
Edit the file nlpProblemDef.h and delete the following lines:

NlpProblemDef::~NlpProblemDef (void)
{
    //---- DO NOTHING.
    return;
}

Step 4
Run configure with appropriate values for -with-knitro-lib and -with-knitro-incdir. For example:

./configure --with-knitro-lib="-L/home/kmartin/files/code/knitro/linux/lib -lknitro "
--with-knitro-incdir=/home/kmartin/files/code/knitro/linux/include



Kipp Martin 2008-01-16