Leonardo Miranda

First Question
  • Total activity 2
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 1

Posts

Recent activity by Leonardo Miranda Recent activity Votes
  • AttributeError: 'dict' object has no attribute 'prod'

    Answered

    When running the diet.py example, the line m.setObjective(buy.prod(cost), GRB.MINIMIZE) is displaying the following error: AttributeError: 'dict' object has no attribute 'prod'. To create the "buy"...