Esempio n. 1
0
 CplexInterface* CplexInterface::clone() const {
   // Return a deepcopy
   CplexInterface* node = new CplexInterface(st_);
   if (!node->is_init_)
     node->init();
   return node;
 }
Esempio n. 2
0
 CplexInterface* CplexInterface::clone() const {
   // Return a deepcopy
   CplexInterface* node =
     new CplexInterface(make_map("h", st_[QP_STRUCT_H], "a", st_[QP_STRUCT_A]));
   if (!node->is_init_)
     node->init();
   return node;
 }