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

Detailed Description

Definition at line 393 of file preprocessor.h.

#include <preprocessor.h>

Public Types

enum  OperationType : uint8_t { ZERO_COST_SINGLETON_COLUMN , SINGLETON_ROW , SINGLETON_COLUMN_IN_EQUALITY , MAKE_CONSTRAINT_AN_EQUALITY }

Public Member Functions

 SingletonUndo (OperationType type, const LinearProgram &lp, MatrixEntry e, ConstraintStatus status)
void Undo (const GlopParameters &parameters, const SparseColumn &saved_column, const SparseColumn &saved_row, ProblemSolution *solution) const
const MatrixEntryEntry () const

Member Enumeration Documentation

◆ OperationType

Enumerator
ZERO_COST_SINGLETON_COLUMN 
SINGLETON_ROW 
SINGLETON_COLUMN_IN_EQUALITY 
MAKE_CONSTRAINT_AN_EQUALITY 

Definition at line 396 of file preprocessor.h.

Constructor & Destructor Documentation

◆ SingletonUndo()

operations_research::glop::SingletonUndo::SingletonUndo ( OperationType type,
const LinearProgram & lp,
MatrixEntry e,
ConstraintStatus status )

Definition at line 2261 of file preprocessor.cc.

Member Function Documentation

◆ Entry()

const MatrixEntry & operations_research::glop::SingletonUndo::Entry ( ) const
inline

Definition at line 417 of file preprocessor.h.

◆ Undo()

void operations_research::glop::SingletonUndo::Undo ( const GlopParameters & parameters,
const SparseColumn & saved_column,
const SparseColumn & saved_row,
ProblemSolution * solution ) const

Definition at line 2273 of file preprocessor.cc.


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