Create a single variable in Pulp - Python Snippets - Snipit

PHOTO EMBED

Sun Jul 10 2022 05:53:25 GMT+0000 (Coordinated Universal Time)

Saved by @nilotpalc #python

X1 = LpVariable('X1', lowBound=0, upBound=None, cat='Integer') 
# create a single variable of type Integer with min value 0 and max value infinity
content_copyCOPY

https://snipit.io/