Skip to content

Instantly share code, notes, and snippets.

@titowoche30
Created November 19, 2019 00:00
Show Gist options
  • Select an option

  • Save titowoche30/a5eee1b0a75445580532a6ce100028f7 to your computer and use it in GitHub Desktop.

Select an option

Save titowoche30/a5eee1b0a75445580532a6ce100028f7 to your computer and use it in GitHub Desktop.
#Decision variables xij
model.x=pyEnv.Var(model.N,model.M, within=pyEnv.Binary)
#Dummy variable ui
model.u=pyEnv.Var(model.N, within=pyEnv.NonNegativeIntegers,bounds=(0,n-1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment