Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::glop::Status Class Reference

Detailed Description

Definition at line 24 of file status.h.

#include <status.h>

Public Types

enum  ErrorCode {
  GLOP_OK = 0 , ERROR_LU = 1 , ERROR_BOUND = 2 , ERROR_NULL = 3 ,
  ERROR_INVALID_PROBLEM = 4
}

Public Member Functions

 Status ()
 Status (ErrorCode error_code, std::string error_message)
ErrorCode error_code () const
const std::string & error_message () const
bool ok () const

Static Public Member Functions

static Status OK ()

Member Enumeration Documentation

◆ ErrorCode

Enumerator
GLOP_OK 
ERROR_LU 
ERROR_BOUND 
ERROR_NULL 
ERROR_INVALID_PROBLEM 

Definition at line 27 of file status.h.

Constructor & Destructor Documentation

◆ Status() [1/2]

operations_research::glop::Status::Status ( )

Definition at line 24 of file status.cc.

◆ Status() [2/2]

operations_research::glop::Status::Status ( ErrorCode error_code,
std::string error_message )

Definition at line 26 of file status.cc.

Member Function Documentation

◆ error_code()

ErrorCode operations_research::glop::Status::error_code ( ) const
inline

Definition at line 56 of file status.h.

◆ error_message()

const std::string & operations_research::glop::Status::error_message ( ) const
inline

Definition at line 57 of file status.h.

◆ OK()

Status operations_research::glop::Status::OK ( )
inlinestatic

Definition at line 53 of file status.h.

◆ ok()

bool operations_research::glop::Status::ok ( ) const
inline

Definition at line 58 of file status.h.


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