Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
model_builder_numbers.py File Reference

Go to the source code of this file.

Namespaces

namespace  ortools
 
namespace  ortools.linear_solver
 
namespace  ortools.linear_solver.python
 
namespace  ortools.linear_solver.python.model_builder_numbers
 

Functions

bool ortools.linear_solver.python.model_builder_numbers.is_integral (Any x)
 
bool ortools.linear_solver.python.model_builder_numbers.is_a_number (Any x)
 
bool ortools.linear_solver.python.model_builder_numbers.is_zero (Any x)
 
bool ortools.linear_solver.python.model_builder_numbers.is_one (Any x)
 
bool ortools.linear_solver.python.model_builder_numbers.is_minus_one (Any x)
 
np.double ortools.linear_solver.python.model_builder_numbers.assert_is_a_number (NumberT x)
 
npt.NDArray[np.double] ortools.linear_solver.python.model_builder_numbers.assert_is_a_number_array (Sequence[NumberT] x)
 

Variables

 ortools.linear_solver.python.model_builder_numbers.NumberT = Union[numbers.Number, np.number]