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

have_feature_quadprog_ls

PURPOSE ^

HAVE_FEATURE_QUADPROG_LS Detect availability/version info for QUADPROG w/large scale

SYNOPSIS ^

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

DESCRIPTION ^

HAVE_FEATURE_QUADPROG_LS  Detect availability/version info for QUADPROG w/large scale

   Feature detection function implementing 'quadprog_ls' tag for HAVE_FEATURE
   to detect availability/version of QUADPROG with support for the
   large-scale interior point convex solver, from the MATLAB Optimization
   Toolbox 6.x and later.

   See also HAVE_FEATURE, HAVE_FEATURE_QUADPROG, QPS_MASTER, QUADPROG.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [TorF, vstr, rdate] = have_feature_quadprog_ls()
0002 %HAVE_FEATURE_QUADPROG_LS  Detect availability/version info for QUADPROG w/large scale
0003 %
0004 %   Feature detection function implementing 'quadprog_ls' tag for HAVE_FEATURE
0005 %   to detect availability/version of QUADPROG with support for the
0006 %   large-scale interior point convex solver, from the MATLAB Optimization
0007 %   Toolbox 6.x and later.
0008 %
0009 %   See also HAVE_FEATURE, HAVE_FEATURE_QUADPROG, QPS_MASTER, QUADPROG.
0010 
0011 %   MP-Opt-Model
0012 %   Copyright (c) 2004-2020, Power Systems Engineering Research Center (PSERC)
0013 %   by Ray Zimmerman, PSERC Cornell
0014 %
0015 %   This file is part of MP-Opt-Model.
0016 %   Covered by the 3-clause BSD License (see LICENSE file for details).
0017 %   See https://github.com/MATPOWER/mp-opt-model for more info.
0018 
0019 TorF = 0;
0020 vstr = '';
0021 rdate = '';
0022 if have_feature('matlab')
0023     v = have_feature('quadprog', 'all');
0024     if v.av && v.vnum >= 6          %% Opt Tbx 6.0+ (R2011a+, MATLAB 7.12+)
0025         TorF = 1;
0026         vstr = v.vstr;
0027         rdate = v.date;
0028     end
0029 end

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