Hello,

I am a university student using matpower for my opf-analyses.
Looking for a good solver I'm having trouble setting up KNITRO.
I did like it was told in the installation documentation but when running
opf i get this error:

>> mpopt = mpoption('OPF_ALG', 600, 'VERBOSE', 0, 'OUT_ALL', 0);
>> opfresults = runopf(mpc, mpopt)

Error using setupKTR
KNITRO was unable to initialize the problem.

Error in ktrlink (line 401)
    [kcontext,status,knitroOptions.algorithm,Hrow,Hcol] = ...
Error in ktropf_solver (line 202)
[x, f, info, Output, Lambda] = ktrlink(f_fcn, x0, Af, bf, Afeq, bfeq, ...
Error in opf_execute (line 146)
    [results, success, raw] = ktropf_solver(om, mpopt);
Error in opf (line 225)
[results, success, raw] = opf_execute(om, mpopt);
Error in runopf (line 96)
[r, success] = opf(casedata, mpopt);

Do you know, whats wrong here?
I'm using the newest matpower and knitro on R2013a (Windows 7 x64).

I want to use KNITRO because I read that it is very stable regarding
convergency.
I have convergence issues on MIPS in roundabout 5 to 10% of my
calculations (success = 0) and want to improve this.

Thanks in advance
Sören


Reply via email to