PySCIPOpt  5.1.1
Python Interface for the SCIP Optimization Suite
Term Class Reference

Public Member Functions

def __add__ (self, other)
 
def __eq__ (self, other)
 
def __getitem__ (self, idx)
 
def __hash__ (self)
 
def __init__ (self, *vartuple)
 
def __len__ (self)
 
def __repr__ (self)
 

Public Attributes

 hashval
 
 ptrtuple
 
 vartuple
 

Detailed Description

This is a monomial term

Definition at line 83 of file expr.pxi.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
vartuple 
)

Definition at line 88 of file expr.pxi.

Member Function Documentation

◆ __add__()

def __add__ (   self,
  other 
)

Definition at line 105 of file expr.pxi.

References Term.vartuple.

◆ __eq__()

def __eq__ (   self,
  other 
)

Definition at line 99 of file expr.pxi.

References Term.ptrtuple.

◆ __getitem__()

def __getitem__ (   self,
  idx 
)

Definition at line 93 of file expr.pxi.

References Term.vartuple.

◆ __hash__()

def __hash__ (   self)

Definition at line 96 of file expr.pxi.

References Term.hashval.

◆ __len__()

def __len__ (   self)

Definition at line 102 of file expr.pxi.

References Term.vartuple.

◆ __repr__()

def __repr__ (   self)

Definition at line 109 of file expr.pxi.

References Term.vartuple.

Member Data Documentation

◆ hashval

hashval

Definition at line 91 of file expr.pxi.

◆ ptrtuple

ptrtuple

Definition at line 90 of file expr.pxi.

◆ vartuple

vartuple

Definition at line 89 of file expr.pxi.


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