column generation with c++
ユーザーの入力を待っています。I'm trying to use column generating with gurobi and c++. I encounter some problem when adding a new variable.
I first create a new column:
and then add a new variable:
There is something wrong with the addvar, but I don't know what the reason is. Is anyone can help me? Thank you!
0
-
Hi Kechen,
What exactly is the error message you get?
In addVar() you use NULL for a string argument (name). Since the name parameter is optional, you can just skip it.
Best regards,
Mario0
サインインしてコメントを残してください。
コメント
1件のコメント