umo 0.0.2

Creator: bradpython12

Last updated:

0 purchases

TODO
Add to Cart

Description:

umo 0.0.2

Umo is a modeling interface for mathematical programming solvers.
Using UMO
You can use UMO with the following solvers:

CBC
Minisat

Python example
import umo

m = umo.Model()
a = m.bool_var()
b = m.bool_var()

umo.constraint(a + b <= 1)
umo.maximize(a + 2*b)

m.solve()

print(a.value)
print(b.value)

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.