'Integer optimization using Dragonfly does not work on Windows but does on Mac
I am running an integer optimization in Python using Dragonfly on a Mac and have decided to run some optimizations on a Windows computer as well. This example works just fine on my Mac. I have the exact same Python version and the exact same package versions installed on a Windows as on my Mac. The example does not run on Windows. The issue I believe is the domain. For integer optimization from the example I am using the domain:
domain_vars = [ {'type': 'int', 'min': 0, 'max': 114} ]
If I change 'int' to 'float' the code runs on the Windows. The specific error I am getting is
experiment_caller.py", line 148, in _get_true_val_from_experiment_at_point assert self.domain.is_a_member(point) AssertionError
Obviously there is some domain issue going on, but I can't figure out why my code will run fine on my Mac, but does not run on Windows unless I change integer optimization to floating point optimization. Any suggestions on how to go about debugging this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
