MCPcopy Create free account
hub / github.com/cvanaret/Uno / initialize_memory

Method initialize_memory

uno/ingredients/subproblem_solvers/BoxLPSolver.cpp:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9namespace uno {
10 void BoxLPSolver::initialize_memory(const Subproblem& subproblem) {
11 this->variable_lower_bounds.resize(subproblem.number_variables);
12 this->variable_upper_bounds.resize(subproblem.number_variables);
13 this->workspace.objective_gradient.resize(subproblem.number_variables);
14 }
15
16 void BoxLPSolver::solve(Statistics& /*statistics*/, const Subproblem& subproblem, double trust_region_radius,
17 const Vector<double>& /*initial_point*/, Direction& direction, Evaluations& current_evaluations,

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.80

Tested by

no test coverage detected