Created
November 19, 2019 00:02
-
-
Save titowoche30/349526432585fb3f3a728721c1fecc9f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def obj_func(model): | |
| return sum(model.x[i,j] * model.c[i,j] for i in model.N for j in model.M) | |
| model.objective = pyEnv.Objective(rule=obj_func,sense=pyEnv.minimize) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment