Home > external > solopt.m

solopt

PURPOSE ^

SOLOPT -- Creates a default options structure for BBNNLS

SYNOPSIS ^

function options = solopt(varargin)

DESCRIPTION ^

 SOLOPT  --  Creates a default options structure for BBNNLS

 OPTIONS = SOLOPT

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function options = solopt(varargin)
0002 % SOLOPT  --  Creates a default options structure for BBNNLS
0003 %
0004 % OPTIONS = SOLOPT
0005 %
0006 
0007 options.asgui = 0;
0008 options.beta = 0.0498;
0009 options.compute_obj = 1;
0010 % diminishing scalar; beta^0 =  opt.dimbeg
0011 % beta^k = opt.dimbeg / k^opt.dimexp
0012 options.dimexp = .5;
0013 options.dimbeg = 5;
0014 options.maxit = 100;
0015 options.maxtime = 10;
0016 options.maxnull = 10;
0017 options.max_func_evals = 30;
0018 options.pbb_gradient_norm = 1e-9;
0019 options.sigma = 0.298;
0020 options.step  = 1e-4;
0021 options.tau = 1e-7;             
0022 options.time_limit = 0;
0023 options.tolg = 1e-3;
0024 options.tolx = 1e-8;
0025 options.tolo = 1e-5;
0026 options.truex=0;
0027 options.xt=[];
0028 options.use_kkt = 0;
0029 options.use_tolg = 1;
0030 options.use_tolo = 0;
0031 options.use_tolx = 0;
0032 options.useTwo = 0;
0033 options.verbose = 1;                    % initially
0034 if nargin == 1
0035   options.variant = varargin{1};
0036 else   % Default
0037   options.variant = 'SBB';
0038 end
0039

Generated on Wed 16-Jul-2014 19:56:13 by m2html © 2005