pulp icon indicating copy to clipboard operation
pulp copied to clipboard

I can't compare Lpvariable with integer

Open YnsDev1 opened this issue 3 years ago • 1 comments

Details for the issue

I can't compare Lpvariable with integer inside the objective fonction

I get a error msg that I can't compare Lpvariable with integer with <

Useful extra information

I'm opening this issue because:

  • [ ] PuLP has a bug
  • [ ] PuLP needs a feature
  • [ x] PuLP has another problem

I'm using PuLP on:

  • [ x] Windows: ( version: ___ )
  • [ ] Linux: ( distro: ___ )
  • [ ] Mac OS: ( version: ___ )
  • [ ] Other: ___

I'm using python version:

  • [ ] 2.7
  • [ ] 3.4
  • [ x] 3.5
  • [ ] 3.6
  • [ ] Other: ___

I installed PuLP via:

  • [x ] pypi (pip install pulp)
  • [ ] github (pip install -U git+https://github.com/coin-or/pulp)
  • [ ] Other: ___

I have also:

  • [ ] Tried out the latest github version: https://github.com/coin-or/pulp
  • [ ] Searched for an existing similar issue: https://github.com/coin-or/pulp/issues?utf8=%E2%9C%93&q=is%3Aissue%20

YnsDev1 avatar Apr 22 '22 03:04 YnsDev1

could you please provide an example? better yet a completely reproducible one?

pchtsp avatar Apr 28 '22 18:04 pchtsp