def LookupVariable(self, var_name: "std::string const &") -> "operations_research::MPVariable *": r""" Looks up a variable by name, and returns nullptr if it does not exist. The first call has a O(n) complexity, as the variable name index is lazily created upon first use. Will crash if variable names are not unique. """ return _pywraplp.Solver_LookupVariable(self, var_name)
def LookupVariable( self, var_name: 'std::string const &' ) -> "operations_research::MPVariable *": return _pywraplp.Solver_LookupVariable(self, var_name)
def LookupVariable(self, var_name): return _pywraplp.Solver_LookupVariable(self, var_name)