output of mpver :
MATPOWER Version 4.1 14-Dec-2011MATLAB
Version 8.1 13-Feb-2013 Release: (R2013a) Optimization Toolbox
Version 6.3 13-Feb-2013 Release: (R2013a) MIPS
Version 1.0 07-Feb-2011BPMPD_MEX -- not installed --CPLEX
-- not installed --IPOPT -- not installed
--Gurobi -- not installed --KNITRO Version
9.1.0 PCWIN64MINOPF -- not installed --MOSEK
-- not installed --PDIPMOPF Version 4.1
11-Nov-2011 PCWIN64SCPDIPMOPF Version 4.1 11-Nov-2011
PCWIN64TRALMOPF Version 4.1 11-Nov-2011
PCWIN64Architecture: PCWIN64
MATPOWER 4.1 is distributed under the GNU General Public License. Please see
the LICENSE and COPYING files for details.
output of t_opf_knitro:
1..101ok 1 - knitro OPF : successok 2 - knitro OPF : fok 3 - knitro OPF : bus
dataok 4 - knitro OPF : bus voltageok 5 - knitro OPF : bus lambdaok 6 - knitro
OPF : bus muok 7 - knitro OPF : gen dataok 8 - knitro OPF : gen dispatchok 9 -
knitro OPF : gen muok 10 - knitro OPF : branch dataok 11 - knitro OPF : branch
flowok 12 - knitro OPF : branch muok 13 - knitro OPF : (single-block PWL) :
successok 14 - knitro OPF : (single-block PWL) : fok 15 - knitro OPF :
(single-block PWL) : bus dataok 16 - knitro OPF : (single-block PWL) : bus
voltageok 17 - knitro OPF : (single-block PWL) : bus lambdaok 18 - knitro OPF :
(single-block PWL) : bus muok 19 - knitro OPF : (single-block PWL) : gen dataok
20 - knitro OPF : (single-block PWL) : gen dispatchok 21 - knitro OPF :
(single-block PWL) : gen muok 22 - knitro OPF : (single-block PWL) : branch
dataok 23 - knitro OPF : (single-block PWL) : branch flowok 24 - knitro OPF :
(single-block PWL) : branch muok 25 - knitro OPF : (single-block PWL) : check
on raw x returned from OPFok 26 - knitro OPF : (P line lim) : successok 27 -
knitro OPF : (P line lim) : fok 28 - knitro OPF : (P line lim) : bus dataok 29
- knitro OPF : (P line lim) : bus voltageok 30 - knitro OPF : (P line lim) :
bus lambdaok 31 - knitro OPF : (P line lim) : bus muok 32 - knitro OPF : (P
line lim) : gen dataok 33 - knitro OPF : (P line lim) : gen dispatchok 34 -
knitro OPF : (P line lim) : gen muok 35 - knitro OPF : (P line lim) : branch
dataok 36 - knitro OPF : (P line lim) : branch flowok 37 - knitro OPF : (P line
lim) : branch muok 38 - knitro OPF : w/quadratic generalized gen cost :
successok 39 - knitro OPF : w/quadratic generalized gen cost : fok 40 - knitro
OPF : w/quadratic generalized gen cost : bus dataok 41 - knitro OPF :
w/quadratic generalized gen cost : bus voltageok 42 - knitro OPF : w/quadratic
generalized gen cost : bus lambdaok 43 - knitro OPF : w/quadratic generalized
gen cost : bus muok 44 - knitro OPF : w/quadratic generalized gen cost : gen
dataok 45 - knitro OPF : w/quadratic generalized gen cost : gen dispatchok 46 -
knitro OPF : w/quadratic generalized gen cost : gen muok 47 - knitro OPF :
w/quadratic generalized gen cost : branch dataok 48 - knitro OPF : w/quadratic
generalized gen cost : branch flowok 49 - knitro OPF : w/quadratic generalized
gen cost : branch muok 50 - knitro OPF : w/quadratic generalized gen cost :
user costok 51 - knitro OPF : w/extra constraints & costs 1 : successok 52 -
knitro OPF : w/extra constraints & costs 1 : fok 53 - knitro OPF : w/extra
constraints & costs 1 : bus dataok 54 - knitro OPF : w/extra constraints &
costs 1 : bus voltageok 55 - knitro OPF : w/extra constraints & costs 1 : bus
lambdaok 56 - knitro OPF : w/extra constraints & costs 1 : bus muok 57 - knitro
OPF : w/extra constraints & costs 1 : gen dataok 58 - knitro OPF : w/extra
constraints & costs 1 : gen dispatchok 59 - knitro OPF : w/extra constraints &
costs 1 : gen muok 60 - knitro OPF : w/extra constraints & costs 1 : branch
dataok 61 - knitro OPF : w/extra constraints & costs 1 : branch flowok 62 -
knitro OPF : w/extra constraints & costs 1 : branch muok 63 - knitro OPF :
w/extra constraints & costs 1 : user variableok 64 - knitro OPF : w/extra
constraints & costs 1 : user costok 65 - knitro OPF : w/capability curves :
successok 66 - knitro OPF : w/capability curves : fok 67 - knitro OPF :
w/capability curves : bus dataok 68 - knitro OPF : w/capability curves : bus
voltageok 69 - knitro OPF : w/capability curves : bus lambdaok 70 - knitro OPF
: w/capability curves : bus muok 71 - knitro OPF : w/capability curves : gen
dataok 72 - knitro OPF : w/capability curves : gen dispatchok 73 - knitro OPF :
w/capability curves : gen muok 74 - knitro OPF : w/capability curves : branch
dataok 75 - knitro OPF : w/capability curves : branch flowok 76 - knitro OPF :
w/capability curves : branch muok 77 - knitro OPF : w/angle difference limits :
successok 78 - knitro OPF : w/angle difference limits : fok 79 - knitro OPF :
w/angle difference limits : bus dataok 80 - knitro OPF : w/angle difference
limits : bus voltageok 81 - knitro OPF : w/angle difference limits : bus
lambdaok 82 - knitro OPF : w/angle difference limits : bus muok 83 - knitro OPF
: w/angle difference limits : gen dataok 84 - knitro OPF : w/angle difference
limits : gen dispatchok 85 - knitro OPF : w/angle difference limits : gen muok
86 - knitro OPF : w/angle difference limits : branch dataok 87 - knitro OPF :
w/angle difference limits : branch flowok 88 - knitro OPF : w/angle difference
limits : branch muok 89 - knitro OPF : w/angle difference limits : branch angle
muok 90 - knitro OPF : w/ignored angle difference limits : successok 91 -
knitro OPF : w/ignored angle difference limits : fok 92 - knitro OPF :
w/ignored angle difference limits : bus dataok 93 - knitro OPF : w/ignored
angle difference limits : bus voltageok 94 - knitro OPF : w/ignored angle
difference limits : bus lambdaok 95 - knitro OPF : w/ignored angle difference
limits : bus muok 96 - knitro OPF : w/ignored angle difference limits : gen
dataok 97 - knitro OPF : w/ignored angle difference limits : gen dispatchok 98
- knitro OPF : w/ignored angle difference limits : gen muok 99 - knitro OPF :
w/ignored angle difference limits : branch dataok 100 - knitro OPF : w/ignored
angle difference limits : branch flowok 101 - knitro OPF : w/ignored angle
difference limits : branch muAll tests successful (101 of 101)Elapsed time 0.83
seconds.
I am not sure if the success in the output of t_opf_knitro imply that opf was
successful (!!), but the success in the results struct says 0.
Regards,Angelina
From: [email protected]
Subject: Re: knitro does not converge
Date: Mon, 23 Mar 2015 14:57:10 -0400
To: [email protected]
Later versions of Knitro changed their Matlab interface and have not been
tested with older versions of MATPOWER that used an older interface, so I’m not
sure what to expect with that combination.
Could I see the output of mpver and the output of t_opf_knitro?
Ray
On Mar 23, 2015, at 1:47 PM, angelina sirri <[email protected]> wrote:I am
using matpower 4.1 and knitro 9.1.0.
And also all tests are successful when I type test_matpower. Why should there
be a problem with older matpower versions?
Regards,Angelina
From: [email protected]
Subject: Re: knitro does not converge
Date: Mon, 23 Mar 2015 11:59:08 -0400
To: [email protected]
Knitro solves it just fine on my machine. Are you using the current versions of
both MATPOWER (5.1) and Knitro (9.1.0)? (type mpver to see what versions you
have installed) And does it pass all of the tests? (type test_matpower).
Ray
On Mar 20, 2015, at 10:58 AM, angelina sirri <[email protected]>
wrote:Hello,I recently installed KNITRO but it seems I can never make it
converge! In the attachment there is an mpc case which perfectly converges with
the default solver:mpopt=mpoption('OPF_ALG',0,'VERBOSE',0,'OUT_ALL',0);
but when I am trying to use KNITRO,
(mpopt=mpoption('OPF_ALG',600,'VERBOSE',0,'OUT_ALL',0)
with any loading condition (the one in the attachment is the peak condition) I
never get the case to converge without any notification appeared in the
screen.Any advice would be really appreciated.
Regards,Angelina<test_case_angelina.mat>