/dports/math/scs/scs-3.0.0/test/problems/ |
H A D | rob_gauss_cov_est.h | 159 stgs->eps_abs = 1e-6; in rob_gauss_cov_est() 160 stgs->eps_rel = 1e-6; in rob_gauss_cov_est() 161 stgs->eps_infeas = 1e-9; in rob_gauss_cov_est() 178 stgs->warm_start = 1; in rob_gauss_cov_est() 189 stgs->max_iters = 1; in rob_gauss_cov_est() 196 scs_free(stgs); in rob_gauss_cov_est() 200 stgs->max_iters = 1000; in rob_gauss_cov_est() 217 stgs->warm_start = 0; in rob_gauss_cov_est() 218 stgs->normalize = 0; in rob_gauss_cov_est() 219 stgs->adaptive_scale = 0; in rob_gauss_cov_est() [all …]
|
H A D | qafiro_tiny_qp.h | 122 stgs->eps_abs = 1e-6; in qafiro_tiny_qp() 123 stgs->eps_rel = 1e-6; in qafiro_tiny_qp() 124 stgs->eps_infeas = 1e-9; in qafiro_tiny_qp() 141 stgs->warm_start = 1; in qafiro_tiny_qp() 151 stgs->warm_start = 0; in qafiro_tiny_qp() 152 stgs->normalize = 0; in qafiro_tiny_qp() 153 stgs->adaptive_scale = 0; in qafiro_tiny_qp() 172 stgs->warm_start = 0; in qafiro_tiny_qp() 173 stgs->normalize = 0; in qafiro_tiny_qp() 174 stgs->adaptive_scale = 0; in qafiro_tiny_qp() [all …]
|
H A D | hs21_tiny_qp.h | 67 SCS(set_default_settings)(stgs); in hs21_tiny_qp() 68 stgs->eps_abs = 1e-6; in hs21_tiny_qp() 69 stgs->eps_rel = 1e-6; in hs21_tiny_qp() 70 stgs->eps_infeas = 1e-9; in hs21_tiny_qp() 87 stgs->warm_start = 1; in hs21_tiny_qp() 97 stgs->warm_start = 0; in hs21_tiny_qp() 98 stgs->normalize = 0; in hs21_tiny_qp() 99 stgs->adaptive_scale = 0; in hs21_tiny_qp() 100 stgs->acceleration_lookback = 10; in hs21_tiny_qp() 101 stgs->acceleration_interval = 10; in hs21_tiny_qp() [all …]
|
H A D | hs21_tiny_qp_rw.h | 69 SCS(set_default_settings)(stgs); in hs21_tiny_qp_rw() 70 stgs->eps_abs = 1e-6; in hs21_tiny_qp_rw() 71 stgs->eps_rel = 1e-6; in hs21_tiny_qp_rw() 72 stgs->eps_infeas = 1e-9; in hs21_tiny_qp_rw() 75 stgs->max_iters = 1; in hs21_tiny_qp_rw() 77 exitflag = scs(d, k, stgs, sol, &info); in hs21_tiny_qp_rw() 83 scs_free(stgs); in hs21_tiny_qp_rw() 87 stgs->max_iters = 1000; in hs21_tiny_qp_rw() 89 exitflag = scs(d, k, stgs, sol, &info); in hs21_tiny_qp_rw() 104 stgs->warm_start = 1; in hs21_tiny_qp_rw() [all …]
|
H A D | degenerate.h | 12 ScsSettings *stgs = (ScsSettings *)scs_calloc(1, sizeof(ScsSettings)); in degenerate() local 61 SCS(set_default_settings)(stgs); in degenerate() 62 stgs->eps_abs = 1e-6; in degenerate() 63 stgs->eps_rel = 1e-6; in degenerate() 64 stgs->eps_infeas = 1e-9; in degenerate() 68 exitflag = scs(d, k, stgs, sol, &info); in degenerate() 69 fail = verify_solution_correct(d, k, stgs, &info, sol, exitflag); in degenerate() 82 exitflag = scs(d, k, stgs, sol, &info); in degenerate() 97 exitflag = scs(d, k, stgs, sol, &info); in degenerate() 113 exitflag = scs(d, k, stgs, sol, &info); in degenerate() [all …]
|
H A D | unbounded_tiny_qp.h | 11 ScsSettings *stgs = (ScsSettings *)scs_calloc(1, sizeof(ScsSettings)); in unbounded_tiny_qp() local 63 SCS(set_default_settings)(stgs); in unbounded_tiny_qp() 64 stgs->eps_abs = 1e-6; in unbounded_tiny_qp() 65 stgs->eps_rel = 1e-6; in unbounded_tiny_qp() 66 stgs->eps_infeas = 1e-7; in unbounded_tiny_qp() 68 exitflag = scs(d, k, stgs, sol, &info); in unbounded_tiny_qp() 73 fail = verify_solution_correct(d, k, stgs, &info, sol, exitflag); in unbounded_tiny_qp() 79 scs_free(stgs); in unbounded_tiny_qp()
|
H A D | random_prob.h | 11 ScsSettings *stgs; in random_prob() local 21 read_status = SCS(read_data)("test/problems/random_prob", &d, &k, &stgs); in random_prob() 27 stgs->eps_abs = 1e-6; in random_prob() 28 stgs->eps_rel = 1e-6; in random_prob() 31 exitflag = scs(d, k, stgs, sol, &info); in random_prob() 41 fail = verify_solution_correct(d, k, stgs, &info, sol, exitflag); in random_prob() 42 SCS(free_data)(d, k, stgs); in random_prob()
|
/dports/math/py-scs/scs-3.0.0/scs/test/problems/ |
H A D | rob_gauss_cov_est.h | 159 stgs->eps_abs = 1e-6; in rob_gauss_cov_est() 160 stgs->eps_rel = 1e-6; in rob_gauss_cov_est() 161 stgs->eps_infeas = 1e-9; in rob_gauss_cov_est() 178 stgs->warm_start = 1; in rob_gauss_cov_est() 189 stgs->max_iters = 1; in rob_gauss_cov_est() 196 scs_free(stgs); in rob_gauss_cov_est() 200 stgs->max_iters = 1000; in rob_gauss_cov_est() 217 stgs->warm_start = 0; in rob_gauss_cov_est() 218 stgs->normalize = 0; in rob_gauss_cov_est() 219 stgs->adaptive_scale = 0; in rob_gauss_cov_est() [all …]
|
H A D | qafiro_tiny_qp.h | 122 stgs->eps_abs = 1e-7; in qafiro_tiny_qp() 123 stgs->eps_rel = 1e-7; in qafiro_tiny_qp() 124 stgs->eps_infeas = 1e-9; in qafiro_tiny_qp() 141 stgs->warm_start = 1; in qafiro_tiny_qp() 151 stgs->warm_start = 0; in qafiro_tiny_qp() 152 stgs->normalize = 0; in qafiro_tiny_qp() 153 stgs->adaptive_scale = 0; in qafiro_tiny_qp() 172 stgs->warm_start = 0; in qafiro_tiny_qp() 173 stgs->normalize = 0; in qafiro_tiny_qp() 174 stgs->adaptive_scale = 0; in qafiro_tiny_qp() [all …]
|
H A D | hs21_tiny_qp.h | 67 SCS(set_default_settings)(stgs); in hs21_tiny_qp() 68 stgs->eps_abs = 1e-6; in hs21_tiny_qp() 69 stgs->eps_rel = 1e-6; in hs21_tiny_qp() 70 stgs->eps_infeas = 1e-9; in hs21_tiny_qp() 87 stgs->warm_start = 1; in hs21_tiny_qp() 97 stgs->warm_start = 0; in hs21_tiny_qp() 98 stgs->normalize = 0; in hs21_tiny_qp() 99 stgs->adaptive_scale = 0; in hs21_tiny_qp() 100 stgs->acceleration_lookback = 10; in hs21_tiny_qp() 101 stgs->acceleration_interval = 10; in hs21_tiny_qp() [all …]
|
H A D | hs21_tiny_qp_rw.h | 69 SCS(set_default_settings)(stgs); in hs21_tiny_qp_rw() 70 stgs->eps_abs = 1e-6; in hs21_tiny_qp_rw() 71 stgs->eps_rel = 1e-6; in hs21_tiny_qp_rw() 72 stgs->eps_infeas = 1e-9; in hs21_tiny_qp_rw() 75 stgs->max_iters = 1; in hs21_tiny_qp_rw() 77 exitflag = scs(d, k, stgs, sol, &info); in hs21_tiny_qp_rw() 83 scs_free(stgs); in hs21_tiny_qp_rw() 87 stgs->max_iters = 1000; in hs21_tiny_qp_rw() 89 exitflag = scs(d, k, stgs, sol, &info); in hs21_tiny_qp_rw() 104 stgs->warm_start = 1; in hs21_tiny_qp_rw() [all …]
|
H A D | degenerate.h | 12 ScsSettings *stgs = (ScsSettings *)scs_calloc(1, sizeof(ScsSettings)); in degenerate() local 61 SCS(set_default_settings)(stgs); in degenerate() 62 stgs->eps_abs = 1e-6; in degenerate() 63 stgs->eps_rel = 1e-6; in degenerate() 64 stgs->eps_infeas = 1e-9; in degenerate() 68 exitflag = scs(d, k, stgs, sol, &info); in degenerate() 69 fail = verify_solution_correct(d, k, stgs, &info, sol, exitflag); in degenerate() 82 exitflag = scs(d, k, stgs, sol, &info); in degenerate() 97 exitflag = scs(d, k, stgs, sol, &info); in degenerate() 113 exitflag = scs(d, k, stgs, sol, &info); in degenerate() [all …]
|
H A D | unbounded_tiny_qp.h | 11 ScsSettings *stgs = (ScsSettings *)scs_calloc(1, sizeof(ScsSettings)); in unbounded_tiny_qp() local 63 SCS(set_default_settings)(stgs); in unbounded_tiny_qp() 64 stgs->eps_abs = 1e-6; in unbounded_tiny_qp() 65 stgs->eps_rel = 1e-6; in unbounded_tiny_qp() 66 stgs->eps_infeas = 1e-7; in unbounded_tiny_qp() 68 exitflag = scs(d, k, stgs, sol, &info); in unbounded_tiny_qp() 73 fail = verify_solution_correct(d, k, stgs, &info, sol, exitflag); in unbounded_tiny_qp() 79 scs_free(stgs); in unbounded_tiny_qp()
|
H A D | random_prob.h | 11 ScsSettings *stgs; in random_prob() local 21 read_status = SCS(read_data)("test/problems/random_prob", &d, &k, &stgs); in random_prob() 27 stgs->eps_abs = 1e-6; in random_prob() 28 stgs->eps_rel = 1e-6; in random_prob() 31 exitflag = scs(d, k, stgs, sol, &info); in random_prob() 41 fail = verify_solution_correct(d, k, stgs, &info, sol, exitflag); in random_prob() 42 SCS(free_data)(d, k, stgs); in random_prob()
|
/dports/math/py-scs/scs-3.0.0/src/ |
H A D | scsmodule.c | 256 if (stgs) { in free_py_scs_data() 257 scs_free(stgs); in free_py_scs_data() 366 &(stgs->scale), &(stgs->eps_abs), &(stgs->eps_rel), in csolve() 367 &(stgs->eps_infeas), &(stgs->alpha), &(stgs->rho_x), in csolve() 368 &(stgs->time_limit_secs), &(stgs->acceleration_lookback), in csolve() 369 &(stgs->acceleration_interval), &(stgs->write_data_filename), in csolve() 505 stgs->normalize = in csolve() 523 if (stgs->scale <= 0) { in csolve() 529 if (stgs->eps_abs < 0) { in csolve() 538 if (stgs->alpha < 0) { in csolve() [all …]
|
/dports/math/scs/scs-3.0.0/src/ |
H A D | util.c | 94 if (stgs) { in SCS() 95 scs_free(stgs); in SCS() 111 stgs->max_iters = MAX_ITERS; in SCS() 112 stgs->eps_abs = EPS_ABS; in SCS() 113 stgs->eps_rel = EPS_REL; in SCS() 114 stgs->eps_infeas = EPS_INFEAS; in SCS() 115 stgs->alpha = ALPHA; in SCS() 116 stgs->rho_x = RHO_X; in SCS() 117 stgs->scale = SCALE; in SCS() 118 stgs->verbose = VERBOSE; in SCS() [all …]
|
H A D | scs.c | 56 if (w->stgs->normalize) { in free_work() 94 stgs->eps_abs, stgs->eps_rel, stgs->eps_infeas, stgs->alpha, in print_init_header() 95 stgs->scale, (int)stgs->adaptive_scale, (int)stgs->max_iters, in print_init_header() 96 (int)stgs->normalize, (int)stgs->warm_start); in print_init_header() 166 if (w->stgs->normalize) { in warm_start_vars() 175 if (w->stgs->normalize) { in warm_start_vars() 730 if (stgs->alpha <= 0 || stgs->alpha >= 2) { in validate() 762 if (stgs->verbose) { in init_work() 772 w->stgs = stgs; in init_work() 985 const ScsSettings *stgs = w->stgs; in SCS() local [all …]
|
/dports/math/py-scs/scs-3.0.0/scs/src/ |
H A D | util.c | 94 if (stgs) { in SCS() 95 scs_free(stgs); in SCS() 111 stgs->max_iters = MAX_ITERS; in SCS() 112 stgs->eps_abs = EPS_ABS; in SCS() 113 stgs->eps_rel = EPS_REL; in SCS() 114 stgs->eps_infeas = EPS_INFEAS; in SCS() 115 stgs->alpha = ALPHA; in SCS() 116 stgs->rho_x = RHO_X; in SCS() 117 stgs->scale = SCALE; in SCS() 118 stgs->verbose = VERBOSE; in SCS() [all …]
|
H A D | scs.c | 56 if (w->stgs->normalize) { in free_work() 94 stgs->eps_abs, stgs->eps_rel, stgs->eps_infeas, stgs->alpha, in print_init_header() 95 stgs->scale, (int)stgs->adaptive_scale, (int)stgs->max_iters, in print_init_header() 96 (int)stgs->normalize, (int)stgs->warm_start); in print_init_header() 166 if (w->stgs->normalize) { in warm_start_vars() 175 if (w->stgs->normalize) { in warm_start_vars() 730 if (stgs->alpha <= 0 || stgs->alpha >= 2) { in validate() 762 if (stgs->verbose) { in init_work() 772 w->stgs = stgs; in init_work() 987 const ScsSettings *stgs = w->stgs; in SCS() local [all …]
|
/dports/math/ecos/ecos-2.0.8/ecos_bb/ |
H A D | ecos_bb_preproc.c | 163 settings_bb *stgs) in ECOS_BB_setup() argument 219 if (stgs == NULL) in ECOS_BB_setup() 228 prob->stgs = stgs; in ECOS_BB_setup() 353 FREE(prob->stgs); in ECOS_BB_cleanup() 361 stgs->maxit = MI_MAXITER; in get_default_ECOS_BB_settings() 362 stgs->verbose = 1; in get_default_ECOS_BB_settings() 363 stgs->abs_tol_gap = MI_ABS_EPS; in get_default_ECOS_BB_settings() 364 stgs->rel_tol_gap = MI_REL_EPS; in get_default_ECOS_BB_settings() 365 stgs->integer_tol = MI_INT_TOL; in get_default_ECOS_BB_settings() 367 stgs->reliable_eta = 6; in get_default_ECOS_BB_settings() [all …]
|
H A D | ecos_bb.c | 124 if (prob->stgs->verbose) in branch() 172 if (prob->stgs->verbose) in branch() 320 if (prob->stgs->verbose) in set_prob() 699 … if (float_eqls(y, pfloat_floor(y, problem->stgs->integer_tol), problem->stgs->integer_tol) || in get_branch_var_pseudocost_branching() 700 float_eqls(y, pfloat_ceil(y, problem->stgs->integer_tol), problem->stgs->integer_tol)) in get_branch_var_pseudocost_branching() 772 float_eqls(y, pfloat_ceil(y, problem->stgs->integer_tol), problem->stgs->integer_tol)) in get_branch_var_reliability_branching() 896 if (prob->stgs->verbose) in get_bounds() 967 if (prob->stgs->verbose) in get_bounds() 1128 if (prob->stgs->verbose) in ECOS_BB_solve() 1150 if (prob->stgs->verbose) in ECOS_BB_solve() [all …]
|
/dports/math/py-ecos/ecos-python-2.0.8/ecos/ecos_bb/ |
H A D | ecos_bb_preproc.c | 163 settings_bb *stgs) in ECOS_BB_setup() argument 219 if (stgs == NULL) in ECOS_BB_setup() 228 prob->stgs = stgs; in ECOS_BB_setup() 353 FREE(prob->stgs); in ECOS_BB_cleanup() 361 stgs->maxit = MI_MAXITER; in get_default_ECOS_BB_settings() 362 stgs->verbose = 1; in get_default_ECOS_BB_settings() 363 stgs->abs_tol_gap = MI_ABS_EPS; in get_default_ECOS_BB_settings() 364 stgs->rel_tol_gap = MI_REL_EPS; in get_default_ECOS_BB_settings() 365 stgs->integer_tol = MI_INT_TOL; in get_default_ECOS_BB_settings() 367 stgs->reliable_eta = 6; in get_default_ECOS_BB_settings() [all …]
|
H A D | ecos_bb.c | 124 if (prob->stgs->verbose) in branch() 172 if (prob->stgs->verbose) in branch() 320 if (prob->stgs->verbose) in set_prob() 699 … if (float_eqls(y, pfloat_floor(y, problem->stgs->integer_tol), problem->stgs->integer_tol) || in get_branch_var_pseudocost_branching() 700 float_eqls(y, pfloat_ceil(y, problem->stgs->integer_tol), problem->stgs->integer_tol)) in get_branch_var_pseudocost_branching() 772 float_eqls(y, pfloat_ceil(y, problem->stgs->integer_tol), problem->stgs->integer_tol)) in get_branch_var_reliability_branching() 896 if (prob->stgs->verbose) in get_bounds() 967 if (prob->stgs->verbose) in get_bounds() 1128 if (prob->stgs->verbose) in ECOS_BB_solve() 1150 if (prob->stgs->verbose) in ECOS_BB_solve() [all …]
|
/dports/math/ecos/ecos-2.0.8/test/ |
H A D | bb_test.c | 36 prob->stgs->verbose = 0; in test_basic() 43 pass &= float_eqls(x[i], prob->x[i], prob->stgs->integer_tol ); in test_basic() 76 prob->stgs->verbose = 0; in test_1a_bool() 113 prob->stgs->verbose = 0; in test_1a_int() 152 prob->stgs->verbose = 0; in test_1b() 191 prob->stgs->verbose = 0; in test_2() 229 prob->stgs->verbose = 0; in test_3() 267 prob->stgs->verbose = 0; in test_4() 306 prob->stgs->verbose = 0; in test_5() 345 prob->stgs->verbose = 0; in test_6() [all …]
|
/dports/math/py-ecos/ecos-python-2.0.8/ecos/test/ |
H A D | bb_test.c | 36 prob->stgs->verbose = 0; in test_basic() 43 pass &= float_eqls(x[i], prob->x[i], prob->stgs->integer_tol ); in test_basic() 76 prob->stgs->verbose = 0; in test_1a_bool() 113 prob->stgs->verbose = 0; in test_1a_int() 152 prob->stgs->verbose = 0; in test_1b() 191 prob->stgs->verbose = 0; in test_2() 229 prob->stgs->verbose = 0; in test_3() 267 prob->stgs->verbose = 0; in test_4() 306 prob->stgs->verbose = 0; in test_5() 345 prob->stgs->verbose = 0; in test_6() [all …]
|