You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in MixedIntegerFloatProblem .py I think it should be :
random.uniform(self.float_lower_bound[i] * 1.0, self.float_upper_bound[i] * 1.0)
and in integer_solution.variables it should be :
random.uniform(self.int_lower_bound[i], self.int_upper_bound[i])
instead of :
float_solution.variables = [
random.uniform(self.float_lower_bound[i] * 1.0, self.float_upper_bound[i] * 0.01)
for i in range(len(self.int_lower_bound))
]
integer_solution.variables = [
random.uniform(self.float_lower_bound[i], self.float_upper_bound[i])
for i in range(len(self.float_lower_bound))
]
I know it is working in this mixed-integer float problem but just to assure my understanding and in order not to let anyone confused about it
I made a pull request to fix this #153#153 (comment)
The text was updated successfully, but these errors were encountered:
in MixedIntegerFloatProblem .py I think it should be :
random.uniform(self.float_lower_bound[i] * 1.0, self.float_upper_bound[i] * 1.0)
and in integer_solution.variables it should be :
random.uniform(self.int_lower_bound[i], self.int_upper_bound[i])
instead of :
float_solution.variables = [
random.uniform(self.float_lower_bound[i] * 1.0, self.float_upper_bound[i] * 0.01)
for i in range(len(self.int_lower_bound))
]
I know it is working in this mixed-integer float problem but just to assure my understanding and in order not to let anyone confused about it
I made a pull request to fix this #153 #153 (comment)
The text was updated successfully, but these errors were encountered: