Interacting with Gurobi for Function evaluation #604
Unanswered
j-alex-vindel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have been working to use NSGAII to find the Pareto frontier from a mmo problem, I am using pymoo to do the NSGAII part of the solution to generate a population and the genes to evaluate, I then use gurobi to solve the model and get the function values.
However, when solving I get the following error:
Xp[flip] = ~X[flip]
TypeError: ufunc 'invert' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
I am at a loss, I was suggested to use pymoo's binary sampling but I can't find the correct documentation for it. Could anyone help?
Beta Was this translation helpful? Give feedback.
All reactions