Home > matpower7.1 > lib > have_feature_minopf.m

have_feature_minopf

PURPOSE ^

HAVE_FEATURE_MINOPF Detect availability/version info for MINOPF

SYNOPSIS ^

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

DESCRIPTION ^

HAVE_FEATURE_MINOPF  Detect availability/version info for MINOPF

   Feature detection function implementing 'minopf' tag for HAVE_FEATURE
   to detect availability/version of MINOPF, a MINOS-based optimal power
   flow (OPF) solver.

   See also HAVE_FEATURE, MINOPF.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [TorF, vstr, rdate] = have_feature_minopf()
0002 %HAVE_FEATURE_MINOPF  Detect availability/version info for MINOPF
0003 %
0004 %   Feature detection function implementing 'minopf' tag for HAVE_FEATURE
0005 %   to detect availability/version of MINOPF, a MINOS-based optimal power
0006 %   flow (OPF) solver.
0007 %
0008 %   See also HAVE_FEATURE, MINOPF.
0009 
0010 %   MATPOWER
0011 %   Copyright (c) 2004-2020, Power Systems Engineering Research Center (PSERC)
0012 %   by Ray Zimmerman, PSERC Cornell
0013 %
0014 %   This file is part of MATPOWER.
0015 %   Covered by the 3-clause BSD License (see LICENSE file for details).
0016 %   See https://matpower.org for more info.
0017 
0018 TorF = exist('minopf', 'file') == 3;
0019 if TorF
0020     v = minopfver('all');
0021     vstr = v.Version;
0022     rdate = v.Date;
0023 else
0024     vstr = '';
0025     rdate = '';
0026 end

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