Home | History | Annotate | Download | only in ceres

Lines Matching refs:optimal_value

251   double optimal_value = 0.0;
254 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value);
256 EXPECT_EQ(optimal_value, 1.0);
269 double optimal_value = 0.0;
272 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value);
275 EXPECT_EQ(optimal_value, 2.0);
289 double optimal_value = 0.0;
292 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value);
294 EXPECT_EQ(optimal_value, -1.0/4.0);
298 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value);
300 EXPECT_EQ(optimal_value, 0.0);
304 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value);
306 EXPECT_EQ(optimal_value, 0.0);