Home > matpower7.1 > lib > have_feature_tralmopf.m

have_feature_tralmopf

PURPOSE ^

HAVE_FEATURE_TRALMOPF Detect availability/version info for TRALMOPF

SYNOPSIS ^

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

DESCRIPTION ^

HAVE_FEATURE_TRALMOPF  Detect availability/version info for TRALMOPF

   Feature detection function implementing 'tralmopf' tag for HAVE_FEATURE
   to detect availability/version of TRALMOPF, trust region based
   augmented Langrangian optimal power flow (OPF) solver included in TSPOPF.
   (https://www.pserc.cornell.edu/tspopf)

   See also HAVE_FEATURE, TRALMOPF.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [TorF, vstr, rdate] = have_feature_tralmopf()
0002 %HAVE_FEATURE_TRALMOPF  Detect availability/version info for TRALMOPF
0003 %
0004 %   Feature detection function implementing 'tralmopf' tag for HAVE_FEATURE
0005 %   to detect availability/version of TRALMOPF, trust region based
0006 %   augmented Langrangian optimal power flow (OPF) solver included in TSPOPF.
0007 %   (https://www.pserc.cornell.edu/tspopf)
0008 %
0009 %   See also HAVE_FEATURE, TRALMOPF.
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('tralmopf', 'file') == 3;
0020     TorF = 1;
0021     v = tralmopfver('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