Files
ortools-clone/examples/tests/dual_loading.py
2021-12-08 11:50:59 +01:00

13 lines
267 B
Python
Executable File

#!/usr/bin/env python3
from ortools.constraint_solver import pywrapcp
from ortools.linear_solver import pywraplp
def main():
cp = pywrapcp.Solver("test")
lp = pywraplp.Solver("test", pywraplp.Solver.CLP_LINEAR_PROGRAMMING)
if __name__ == "__main__":
main()