Skip to content

Commit

Permalink
Temporarily commented out the HiGHS functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cvanaret committed Dec 2, 2024
1 parent 50ff733 commit cbde375
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions uno/ingredients/hessian_models/ConvexifiedHessian.cpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
// Copyright (c) 2024 Charlie Vanaret
// Licensed under the MIT license. See LICENSE file in the project directory for details.

#include <stdexcept>
#include "ConvexifiedHessian.hpp"
#include "ingredients/hessian_models/UnstableRegularization.hpp"
#include "reformulation/OptimizationProblem.hpp"
#include "solvers/DirectSymmetricIndefiniteLinearSolver.hpp"
#include "solvers/SymmetricIndefiniteLinearSolverFactory.hpp"
#include "tools/Logger.hpp"
#include "options/Options.hpp"
#include "tools/Infinity.hpp"
#include "tools/Statistics.hpp"

namespace uno {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ namespace uno {
void LPSubproblem::generate_initial_iterate(const OptimizationProblem& /*problem*/, Iterate& /*initial_iterate*/) {
}

void LPSubproblem::solve(Statistics& /*statistics*/, const OptimizationProblem& problem, Iterate& current_iterate, const Multipliers& current_multipliers,
Direction& direction, const WarmstartInformation& warmstart_information) {
void LPSubproblem::solve(Statistics& /*statistics*/, const OptimizationProblem& problem, Iterate& current_iterate,
const Multipliers& current_multipliers, Direction& direction, const WarmstartInformation& warmstart_information) {
const LagrangeNewtonSubproblem subproblem(problem, current_iterate, current_multipliers.constraints, *this->hessian_model, this->trust_region_radius);
this->solver->solve_LP(subproblem, this->initial_point, direction, warmstart_information);
InequalityConstrainedMethod::compute_dual_displacements(current_multipliers, direction.multipliers);
Expand Down
1 change: 1 addition & 0 deletions uno/ingredients/local_models/LagrangeNewtonSubproblem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ namespace uno {
trust_region_radius(trust_region_radius) { }

void LagrangeNewtonSubproblem::evaluate_objective_gradient(SparseVector<double>& gradient) const {
gradient.clear();
this->problem.evaluate_objective_gradient(this->current_iterate, gradient);
}

Expand Down
1 change: 1 addition & 0 deletions unotest/functional_tests/HiGHSSolverTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,5 @@ TEST(HiGHSSolver, LP) {
EXPECT_NEAR(direction.multipliers.upper_bounds[index], upper_bound_duals_reference[index], tolerance);
}
}
<<<<<<< HEAD
*/

0 comments on commit cbde375

Please sign in to comment.