Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
quadratic_program.h File Reference
#include <cstdint>
#include <limits>
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include "Eigen/Core"
#include "Eigen/SparseCore"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "ortools/linear_solver/linear_solver.pb.h"

Go to the source code of this file.

Classes

struct  operations_research::pdlp::QuadraticProgram
 

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::pdlp
 Validation utilities for solvers.proto.
 
namespace  operations_research::pdlp::internal
 Utility functions for internal use only.
 

Functions

absl::Status operations_research::pdlp::ValidateQuadraticProgramDimensions (const QuadraticProgram &qp)
 
bool operations_research::pdlp::IsLinearProgram (const QuadraticProgram &qp)
 
absl::StatusOr< QuadraticProgramoperations_research::pdlp::QpFromMpModelProto (const MPModelProto &proto, bool relax_integer_variables, bool include_names)
 
absl::Status operations_research::pdlp::CanFitInMpModelProto (const QuadraticProgram &qp)
 
absl::StatusOr< MPModelProto > operations_research::pdlp::QpToMpModelProto (const QuadraticProgram &qp)
 
std::string operations_research::pdlp::ToString (const QuadraticProgram &qp, int64_t max_size)
 
void operations_research::pdlp::SetEigenMatrixFromTriplets (std::vector< Eigen::Triplet< double, int64_t > > triplets, Eigen::SparseMatrix< double, Eigen::ColMajor, int64_t > &matrix)
 
absl::Status operations_research::pdlp::internal::TestableCanFitInMpModelProto (const QuadraticProgram &qp, const int64_t largest_ok_size)
 
void operations_research::pdlp::internal::CombineRepeatedTripletsInPlace (std::vector< Eigen::Triplet< double, int64_t > > &triplets)