Skip to content

Commit

Permalink
change the starting point in analytic center test
Browse files Browse the repository at this point in the history
  • Loading branch information
Apostolos Chalkis committed Jul 1, 2024
1 parent 28cd6df commit e95547b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/rounding_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,10 @@ void rounding_log_barrier_test(Polytope &HP,

typedef BoostRandomNumberGenerator<boost::mt19937, NT, 5> RNGType;
RNGType rng(d);
std::pair<Point, NT> InnerBall = HP.ComputeInnerBall();
std::tuple<MT, VT, NT> res = inscribed_ellipsoid_rounding<MT, VT, NT, Polytope, Point, EllipsoidType::LOG_BARRIER>(HP, InnerBall.first);

VT x0(d);
x0 << 0.7566, 0.6374, 0.3981, 0.9248, 0.9828;
std::tuple<MT, VT, NT> res = inscribed_ellipsoid_rounding<MT, VT, NT, Polytope, Point, EllipsoidType::LOG_BARRIER>(HP, Point(x0));
// Setup the parameters
int walk_len = 1;
NT e = 0.1;
Expand Down

0 comments on commit e95547b

Please sign in to comment.