CYCLUS
coin_helpers.h
Go to the documentation of this file.
1 // Copyright (C) 2000, International Business Machines
2 // Corporation and others. All Rights Reserved.
3 // This code is licensed under the terms of the Eclipse Public License (EPL).
4 
5 #ifndef CYCLUS_SRC_COIN_HELPERS_H_
6 #define CYCLUS_SRC_COIN_HELPERS_H_
7 
8 #include "OsiSolverInterface.hpp"
9 
10 // This file holds helper functions for the coin-related libraries. They are
11 // generally small helpers included in the most current trunk, but not the most
12 // stable release. Some small changes have been made to the original file. See
13 // http://list.coin-or.org/pipermail/cbc/2014-February/001241.html for the
14 // original impetus.
15 
16 namespace cyclus {
17 
18 // Check two agents against each other. Return nonzero if different.
19 // Ignore names if that set.
20 // (Note initial version does not check names)
21 // May modify both agents by cleaning up
22 int differentAgent(OsiSolverInterface & lhs, OsiSolverInterface & rhs,
23  bool ignoreNames = true);
24 
25 } // namespace cyclus
26 
27 #endif // CYCLUS_SRC_COIN_HELPERS_H_
int differentAgent(OsiSolverInterface &lhs, OsiSolverInterface &rhs, bool)
Definition: coin_helpers.cc:21
taken directly from OsiSolverInterface.cpp on 2/17/14 from https://projects.coin-or.org/Osi/browser/trunk.
Definition: agent.cc:14