T_MPOPTION_OV Example of option overrides from file.
0001 function ov = t_mpoption_ov() 0002 %T_MPOPTION_OV Example of option overrides from file. 0003 0004 % MATPOWER 0005 % $Id: t_mpoption_ov.m 2229 2013-12-11 01:28:09Z ray $ 0006 % by Ray Zimmerman, PSERC Cornell 0007 % Copyright (c) 2013 by Power System Engineering Research Center (PSERC) 0008 % 0009 % This file is part of MATPOWER. 0010 % See http://www.pserc.cornell.edu/matpower/ for more info. 0011 % 0012 % MATPOWER is free software: you can redistribute it and/or modify 0013 % it under the terms of the GNU General Public License as published 0014 % by the Free Software Foundation, either version 3 of the License, 0015 % or (at your option) any later version. 0016 % 0017 % MATPOWER is distributed in the hope that it will be useful, 0018 % but WITHOUT ANY WARRANTY; without even the implied warranty of 0019 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0020 % GNU General Public License for more details. 0021 % 0022 % You should have received a copy of the GNU General Public License 0023 % along with MATPOWER. If not, see <http://www.gnu.org/licenses/>. 0024 % 0025 % Additional permission under GNU GPL version 3 section 7 0026 % 0027 % If you modify MATPOWER, or any covered work, to interface with 0028 % other modules (such as MATLAB code and MEX-files) available in a 0029 % MATLAB(R) or comparable environment containing parts covered 0030 % under other licensing terms, the licensors of MATPOWER grant 0031 % you additional permission to convey the resulting work. 0032 0033 ov = struct('verbose', 2, 'model', 'DC', 'opf', struct('dc', struct('solver', 'CPLEX')));