Researcher
Dear Sir,
I have a question regarding programming codes for gurobi working in python.
Does gurobi have the feature as below: ? How to write codes for random normal distribution to be assigned to a variable?
x = …. random.normal(mean, standard deviation, 12) # this creats 12 random numbers and put them in x.
Thank you
Han
0
-
Hi Han,
I'm not sure what you mean. Should the variable be fixed to that value? You can add constraints that force a variable to a certain value. While gurobi itself cannot generate random values, but I would recommend pandas for that.
0
Please sign in to leave a comment.
Comments
1 comment