17#ifndef OR_TOOLS_MATH_OPT_CPP_INCREMENTAL_SOLVER_H_
18#define OR_TOOLS_MATH_OPT_CPP_INCREMENTAL_SOLVER_H_
20#include "absl/status/statusor.h"
115 virtual absl::StatusOr<SolveResult>
Solve(
123 virtual absl::StatusOr<ComputeInfeasibleSubsystemResult>
126 absl::StatusOr<ComputeInfeasibleSubsystemResult>
145 virtual absl::StatusOr<UpdateResult>
Update() = 0;
162 virtual absl::StatusOr<ComputeInfeasibleSubsystemResult>
165 absl::StatusOr<ComputeInfeasibleSubsystemResult>
virtual absl::StatusOr< SolveResult > SolveWithoutUpdate(const SolveArguments &arguments) const =0
absl::StatusOr< SolveResult > SolveWithoutUpdate() const
virtual absl::StatusOr< SolveResult > Solve(const SolveArguments &arguments)=0
absl::StatusOr< ComputeInfeasibleSubsystemResult > ComputeInfeasibleSubsystemWithoutUpdate() const
virtual absl::StatusOr< UpdateResult > Update()=0
absl::StatusOr< SolveResult > Solve()
virtual absl::StatusOr< ComputeInfeasibleSubsystemResult > ComputeInfeasibleSubsystemWithoutUpdate(const ComputeInfeasibleSubsystemArguments &arguments) const =0
IncrementalSolver()=default
IncrementalSolver(const IncrementalSolver &)=delete
absl::StatusOr< ComputeInfeasibleSubsystemResult > ComputeInfeasibleSubsystem()
virtual SolverType solver_type() const =0
Returns the underlying solver used.
virtual absl::StatusOr< ComputeInfeasibleSubsystemResult > ComputeInfeasibleSubsystem(const ComputeInfeasibleSubsystemArguments &arguments)=0
virtual ~IncrementalSolver()=default
IncrementalSolver & operator=(const IncrementalSolver &)=delete
An object oriented wrapper for quadratic constraints in ModelStorage.
SolverType
The solvers supported by MathOpt.
Arguments passed to ComputeInfeasibleSubsystem() to control the solver.