diff --git a/nosnoc/nosnoc_opts.py b/nosnoc/nosnoc_opts.py index edb1d43..bf4dda0 100644 --- a/nosnoc/nosnoc_opts.py +++ b/nosnoc/nosnoc_opts.py @@ -44,14 +44,6 @@ class NosnocOpts: # used in InitializationStrategy.RK4_smoothed fix_active_set_fe0: bool = False - # initialization - Stewart - # init_theta: Optional[float] = None - # init_lambda: Optional[float] = None - init_mu: float = 1.0 - # initialization - Step - init_alpha: float = 0.5 # for step only - init_beta: float = 1.0 - N_finite_elements: int = 2 # Nfe_list: list = field(default_factory=list) #: list of length N_stages, Nfe per stage diff --git a/nosnoc/problem.py b/nosnoc/problem.py index 2633099..b752939 100644 --- a/nosnoc/problem.py +++ b/nosnoc/problem.py @@ -305,7 +305,7 @@ def __init__(self, for ij in range(dims.n_sys): self.add_variable(ca.SX.sym(f'mu_{ctrl_idx}_{fe_idx}_{ii+1}_{ij+1}', 1), self.ind_mu, -np.inf * np.ones(1), np.inf * np.ones(1), - opts.init_mu * np.ones(1), ii, ij) + np.ones(1), ii, ij) elif opts.pss_mode == PssMode.STEP: # add alpha for ij in range(dims.n_sys): @@ -349,7 +349,7 @@ def __init__(self, for ij in range(dims.n_sys): self.add_variable(ca.SX.sym(f'mu_{ctrl_idx}_{fe_idx}_end_{ij+1}', 1), self.ind_mu, -np.inf * np.ones(1), np.inf * np.ones(1), - opts.init_mu * np.ones(1), opts.n_s, ij) + np.ones(1), opts.n_s, ij) elif opts.pss_mode == PssMode.STEP: # add lambda_n for ij in range(dims.n_sys):