Home > matpower7.1 > lib > have_feature_pdipmopf.m

have_feature_pdipmopf

PURPOSE ^

HAVE_FEATURE_PDIPMOPF Detect availability/version info for PDIPMOPF

SYNOPSIS ^

function [TorF, vstr, rdate] = have_feature_pdipmopf()

DESCRIPTION ^

HAVE_FEATURE_PDIPMOPF  Detect availability/version info for PDIPMOPF

   Feature detection function implementing 'pdipmopf' tag for HAVE_FEATURE
   to detect availability/version of PDIPMOPF, a primal-dual interior point
   method optimal power flow (OPF) solver included in TSPOPF.
   (https://www.pserc.cornell.edu/tspopf)

   See also HAVE_FEATURE, PDIPMOPF.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [TorF, vstr, rdate] = have_feature_pdipmopf()
0002 %HAVE_FEATURE_PDIPMOPF  Detect availability/version info for PDIPMOPF
0003 %
0004 %   Feature detection function implementing 'pdipmopf' tag for HAVE_FEATURE
0005 %   to detect availability/version of PDIPMOPF, a primal-dual interior point
0006 %   method optimal power flow (OPF) solver included in TSPOPF.
0007 %   (https://www.pserc.cornell.edu/tspopf)
0008 %
0009 %   See also HAVE_FEATURE, PDIPMOPF.
0010 
0011 %   MATPOWER
0012 %   Copyright (c) 2004-2020, Power Systems Engineering Research Center (PSERC)
0013 %   by Ray Zimmerman, PSERC Cornell
0014 %
0015 %   This file is part of MATPOWER.
0016 %   Covered by the 3-clause BSD License (see LICENSE file for details).
0017 %   See https://matpower.org for more info.
0018 
0019 if have_feature('matlab') && exist('pdipmopf', 'file') == 3;
0020     TorF = 1;
0021     v = pdipmopfver('all');
0022     vstr = v.Version;
0023     rdate = v.Date;
0024 else
0025     TorF = 0;
0026     vstr = '';
0027     rdate = '';
0028 end

Generated on Fri 09-Oct-2020 11:21:31 by m2html © 2005