constants
File containing shared constants used across the package.
Config
Configuration options that apply to the entire library.
integer_tolerance = 1e-08
class-attribute
instance-attribute
For convenience, Pyoframe returns the solution of integer and binary variables as integers not floating point values. To do so, Pyoframe must convert the solver-provided floating point values to integers. To avoid unexpected rounding errors, Pyoframe uses this tolerance to check that the floating point result is an integer as expected. Overly tight tolerances can trigger unexpected errors. Setting the tolerance to zero disables the check.
print_max_set_elements = 50
class-attribute
instance-attribute
Number of elements to show when printing a set to the console (additional elements are replaced with ...)