Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::SolverResources Struct Reference

Detailed Description

Definition at line 46 of file solver_resources.h.

#include <solver_resources.h>

Public Member Functions

SolverResourcesProto Proto () const

Static Public Member Functions

static absl::StatusOr< SolverResourcesFromProto (const SolverResourcesProto &proto)

Public Attributes

std::optional< double > cpu
std::optional< double > ram

Member Function Documentation

◆ FromProto()

absl::StatusOr< SolverResources > operations_research::math_opt::SolverResources::FromProto ( const SolverResourcesProto & proto)
static

Definition at line 43 of file solver_resources.cc.

◆ Proto()

SolverResourcesProto operations_research::math_opt::SolverResources::Proto ( ) const

Definition at line 32 of file solver_resources.cc.

Member Data Documentation

◆ cpu

std::optional<double> operations_research::math_opt::SolverResources::cpu

Definition at line 67 of file solver_resources.h.

◆ ram

std::optional<double> operations_research::math_opt::SolverResources::ram

Definition at line 71 of file solver_resources.h.


The documentation for this struct was generated from the following files: