Home > matpower7.1 > mp-opt-model > lib > have_feature_bpmpd.m

have_feature_bpmpd

PURPOSE ^

HAVE_FEATURE_BPMPD Detect availability/version info for BPMPD

SYNOPSIS ^

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

DESCRIPTION ^

HAVE_FEATURE_BPMPD  Detect availability/version info for BPMPD

   Feature detection function implementing 'bpmpd' tag for HAVE_FEATURE
   to detect availability/version of BPMPD_MEX (interior point LP/QP solver).

   See also HAVE_FEATURE, QPS_MASTER, BP, BPOPT.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [TorF, vstr, rdate] = have_feature_bpmpd()
0002 %HAVE_FEATURE_BPMPD  Detect availability/version info for BPMPD
0003 %
0004 %   Feature detection function implementing 'bpmpd' tag for HAVE_FEATURE
0005 %   to detect availability/version of BPMPD_MEX (interior point LP/QP solver).
0006 %
0007 %   See also HAVE_FEATURE, QPS_MASTER, BP, BPOPT.
0008 
0009 %   MP-Opt-Model
0010 %   Copyright (c) 2004-2020, Power Systems Engineering Research Center (PSERC)
0011 %   by Ray Zimmerman, PSERC Cornell
0012 %
0013 %   This file is part of MP-Opt-Model.
0014 %   Covered by the 3-clause BSD License (see LICENSE file for details).
0015 %   See https://github.com/MATPOWER/mp-opt-model for more info.
0016 
0017 TorF = exist('bp', 'file') == 3;
0018 if TorF
0019     v = bpver('all');
0020     vstr = v.Version;
0021     rdate = v.Date;
0022 else
0023     vstr = '';
0024     rdate = '';
0025 end

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