File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,19 @@ namespace uno {
133133 preset_options.set_bool (" switch_to_optimality_requires_linearized_feasibility" , true );
134134 preset_options.set_bool (" protect_actual_reduction_against_roundoff" , false );
135135 }
136+ else if (preset_name == " squid" ) {
137+ preset_options.set_string (" constraint_relaxation_strategy" , " l1_relaxation" );
138+ preset_options.set_string (" inequality_handling_method" , " inequality_constrained" );
139+ preset_options.set_string (" hessian_model" , " exact" );
140+ preset_options.set_string (" inertia_correction_strategy" , " primal" );
141+ preset_options.set_string (" globalization_mechanism" , " LS" );
142+ preset_options.set_string (" globalization_strategy" , " l1_merit" );
143+ preset_options.set_string (" progress_norm" , " L1" );
144+ preset_options.set_string (" residual_norm" , " INF" );
145+ preset_options.set_double (" l1_constraint_violation_coefficient" , 1 .);
146+ preset_options.set_double (" primal_tolerance" , 1e-6 );
147+ preset_options.set_double (" dual_tolerance" , 1e-6 );
148+ }
136149 else {
137150 throw std::runtime_error (" The preset " + preset_name + " is not known" );
138151 }
You can’t perform that action at this time.
0 commit comments