Commit d7ac2f05 authored by s.gretchko's avatar s.gretchko
Browse files

Added 9 Krueger (Siemens) demos + changed Samsara Maxit

parent 7711c457
import sys
sys.path.append('../proxtoolbox/Problems_old/Phase')
sys.path.append('..')
import tasse_DRl_in
from phase import Phase
tasse = Phase(tasse_DRl_in.new_config)
tasse.solve()
tasse.show()
import SetProxPythonPath
from proxtoolbox.experiments.phase.Krueger_Experiment import Krueger_Experiment
Krueger = Krueger_Experiment(algorithm = 'CP', data_ball = 20)
Krueger.run()
Krueger.show()
import SetProxPythonPath
from proxtoolbox.experiments.phase.Krueger_Experiment import Krueger_Experiment
Krueger = Krueger_Experiment(algorithm = 'DRAP', data_ball = 20)
Krueger.run()
Krueger.show()
import SetProxPythonPath
from proxtoolbox.experiments.phase.Krueger_Experiment import Krueger_Experiment
Krueger = Krueger_Experiment(algorithm = 'QNAvP', data_ball = 20)
Krueger.run()
Krueger.show()
import SetProxPythonPath
from proxtoolbox.experiments.phase.Krueger_Experiment import Krueger_Experiment
Krueger = Krueger_Experiment(algorithm = 'DRl', data_ball = 20,
lambda_0 = 0.5, lambda_max = 0.5)
Krueger.run()
Krueger.show()
import SetProxPythonPath
from proxtoolbox.experiments.phase.Krueger_Experiment import Krueger_Experiment
Krueger = Krueger_Experiment(algorithm = 'AvP')
Krueger.run()
Krueger.show()
import SetProxPythonPath
from proxtoolbox.experiments.phase.Krueger_Experiment import Krueger_Experiment
Krueger = Krueger_Experiment(algorithm = 'CP')
Krueger.run()
Krueger.show()
import SetProxPythonPath
from proxtoolbox.experiments.phase.Krueger_Experiment import Krueger_Experiment
Krueger = Krueger_Experiment(algorithm = 'DRAP')
Krueger.run()
Krueger.show()
import SetProxPythonPath
from proxtoolbox.experiments.phase.Krueger_Experiment import Krueger_Experiment
Krueger = Krueger_Experiment(algorithm = 'QNAvP')
Krueger.run()
Krueger.show()
import SetProxPythonPath
from proxtoolbox.experiments.phase.Krueger_Experiment import Krueger_Experiment
Krueger = Krueger_Experiment(algorithm = 'DRl',
lambda_0 = 0.5, lambda_max = 0.5)
Krueger.run()
Krueger.show()
......@@ -165,7 +165,7 @@ class Samsara():
"""
def __init__(self, verbose=False, alpha_0=5e-9, gamma=.5, c=.01,
beta=.99, eta1=.995, eta2=.8, eta3=.05, maxmem=9,
tr=1e+15, ngrad_TOL=1e-6, step_TOL=1e-14, Maxit=500,
tr=1e+15, ngrad_TOL=1e-6, step_TOL=1e-14, Maxit=1000,
orthog_TOL=1e-6, QN_method=BFGS1_product,
Step_finder=None, History=cdSY_mat,
update_conditions='Trust Region', initial_step=1e-9):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment