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

Detailed Description

Definition at line 219 of file model.h.

#include <model.h>

Public Member Functions

 Constraint (absl::string_view t, std::vector< Argument > args, bool strong_propag, bool sym, bool redundant)
std::string DebugString () const
void MarkAsInactive ()
void RemoveArg (int arg_pos)
void SetAsFalse ()

Public Attributes

std::string type
std::vector< Argumentarguments
bool strong_propagation: 1
bool active: 1
bool is_symmetric_breaking: 1
bool is_redundant: 1

Constructor & Destructor Documentation

◆ Constraint()

operations_research::fz::Constraint::Constraint ( absl::string_view t,
std::vector< Argument > args,
bool strong_propag,
bool sym,
bool redundant )
inline

Definition at line 220 of file model.h.

Member Function Documentation

◆ DebugString()

Definition at line 805 of file model.cc.

◆ MarkAsInactive()

◆ RemoveArg()

Definition at line 817 of file model.cc.

◆ SetAsFalse()

Definition at line 826 of file model.cc.

Member Data Documentation

◆ active

Definition at line 252 of file model.h.

◆ arguments

Definition at line 241 of file model.h.

◆ is_redundant

◆ is_symmetric_breaking

◆ strong_propagation

◆ type

Definition at line 240 of file model.h.


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