examples.practical_examples_book package¶
Submodules¶
examples.practical_examples_book.amphibian_coexistence module¶
- examples.practical_examples_book.amphibian_coexistence.solve_coexistence()¶
Solves for coexistence of some animals.
Each species uses different amounts of some shared resources. This function maximizes total population without over utilizing those resources.
- Returns:
total population value, and a list of values for each species pop
- Return type:
float, list(float)
examples.practical_examples_book.diet_problem module¶
- examples.practical_examples_book.diet_problem.solve_diet(InputTable)¶
- examples.practical_examples_book.diet_problem.solve_diet_2(FoodInput, NutrientInput)¶
examples.practical_examples_book.my_or_tools module¶
- examples.practical_examples_book.my_or_tools.ObjVal(x)¶
- examples.practical_examples_book.my_or_tools.SolVal(x)¶
- examples.practical_examples_book.my_or_tools.newSolver(name, integer=False)¶