Skip to content

Commit

Permalink
fixin nla_solver_test.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
levnach committed Oct 6, 2023
1 parent f847d03 commit a94a754
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions src/test/lp/nla_solver_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ void test_basic_lemma_for_mon_neutral_from_factors_to_monomial_0() {

reslimit l;
params_ref p;
std_vector<lp::implied_bound> ib;
solver nla(s, p, l, ib);
solver nla(s, p, l);
svector<lpvar> v; v.push_back(lp_b);v.push_back(lp_d);v.push_back(lp_e);
nla.add_monic(lp_bde, v.size(), v.begin());
v.clear();
Expand Down Expand Up @@ -247,8 +246,7 @@ void test_basic_lemma_for_mon_neutral_from_factors_to_monomial_1() {

reslimit l;
params_ref p;
std_vector<lp::implied_bound> ib;
solver nla(s, p, l, ib);
solver nla(s, p, l);
svector<lpvar> v; v.push_back(lp_b);v.push_back(lp_d);v.push_back(lp_e);
nla.add_monic(lp_bde, v.size(), v.begin());

Expand Down Expand Up @@ -319,8 +317,7 @@ void test_basic_lemma_for_mon_zero_from_factors_to_monomial() {

reslimit l;
params_ref p;
std_vector<lp::implied_bound> ib;
solver nla(s, p, l, ib);
solver nla(s, p, l);

create_abcde(nla,
lp_a,
Expand Down Expand Up @@ -382,8 +379,7 @@ void test_basic_lemma_for_mon_zero_from_monomial_to_factors() {

reslimit l;
params_ref p;
std_vector<lp::implied_bound> ib;
solver nla(s, p, l, ib);
solver nla(s, p, l);

// create monomial acd
unsigned_vector vec;
Expand Down Expand Up @@ -443,8 +439,7 @@ void test_basic_lemma_for_mon_neutral_from_monomial_to_factors() {

reslimit l;
params_ref p;
std_vector<lp::implied_bound> ib;
solver nla(s, p, l, ib);
solver nla(s, p, l);

create_abcde(nla,
lp_a,
Expand Down Expand Up @@ -556,8 +551,7 @@ void test_basic_sign_lemma() {

reslimit l;
params_ref p;
std_vector<lp::implied_bound> ib;
solver nla(s, p, l, ib);
solver nla(s, p, l);
// create monomial bde
vector<unsigned> vec;

Expand Down Expand Up @@ -822,8 +816,7 @@ void test_tangent_lemma_rat() {
s_set_column_value_test(s, lp_ab, v);
reslimit l;
params_ref p;
std_vector<lp::implied_bound> ib;
solver nla(s, p, l, ib);
solver nla(s, p, l);
// create monomial ab
vector<unsigned> vec;
vec.push_back(lp_a);
Expand All @@ -850,8 +843,7 @@ void test_tangent_lemma_reg() {
s_set_column_value_test(s, lp_ab, rational(11));
reslimit l;
params_ref p;
std_vector<lp::implied_bound> ib;
solver nla(s, p, l, ib);
solver nla(s, p, l);
// create monomial ab
vector<unsigned> vec;
vec.push_back(lp_a);
Expand Down

0 comments on commit a94a754

Please sign in to comment.