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

Method Subproblem

uno/ingredients/subproblem/Subproblem.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20namespace uno {
21 Subproblem::Subproblem(const OptimizationProblem& problem, Iterate& current_iterate, HessianModel& hessian_model,
22 InertiaCorrectionStrategy& inertia_correction_strategy):
23 number_variables(problem.number_variables), number_constraints(problem.number_constraints),
24 problem(problem), current_iterate(current_iterate), hessian_model(hessian_model),
25 inertia_correction_strategy(inertia_correction_strategy) {
26 }
27
28 void Subproblem::compute_jacobian_sparsity(uno_int *row_indices, uno_int *column_indices, uno_int row_offset,
29 uno_int column_offset, uno_int solver_indexing, MatrixOrder matrix_order) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected