Support of rvalue references and moving
Hey,
We are programming a column generation scheme in modern C++, and we would like to be able to reuse our GRBModel variables within a loop. I understand you want to prevent programmers from making unnecessary copies by making GRBModel::operator=(const GRBModel&) private. But it would be really useful to be able to assign to GRBModel variables in some way.
Would it be possible to implement GRBModel::operator=(GRBModel&&) in a future release of Gurobi?
1
-
正式なコメント
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.
投稿コメントは受け付けていません。
コメント
1件のコメント