Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::bop::OneFlipConstraintRepairer::ConstraintTerm Struct Reference

#include <bop_ls.h>

Public Member Functions

 ConstraintTerm (VariableIndex v, int64_t w)
 

Public Attributes

VariableIndex var
 
int64_t weight
 

Detailed Description

Local structure to represent the sparse matrix by constraint used for fast lookups.

Definition at line 508 of file bop_ls.h.

Constructor & Destructor Documentation

◆ ConstraintTerm()

operations_research::bop::OneFlipConstraintRepairer::ConstraintTerm::ConstraintTerm ( VariableIndex v,
int64_t w )
inline

Definition at line 509 of file bop_ls.h.

Member Data Documentation

◆ var

VariableIndex operations_research::bop::OneFlipConstraintRepairer::ConstraintTerm::var

Definition at line 510 of file bop_ls.h.

◆ weight

int64_t operations_research::bop::OneFlipConstraintRepairer::ConstraintTerm::weight

Definition at line 511 of file bop_ls.h.


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