CrossConvConstructors.cpp
Go to the documentation of this file.
1 /* $Id: CrossConvConstructors.cpp 510 2011-02-15 22:15:23Z stefan $
2  *
3  * Name: CrossConvConstructors.cpp
4  * Author: Pietro Belotti
5  * Purpose: Convexification cuts on redundant relationships between auxiliaries
6  *
7  * (C) Pietro Belotti, 2010.
8  * This file is licensed under the Eclipse Public License (EPL)
9  */
10 
11 #include "BonRegisteredOptions.hpp"
12 #include "CouenneCrossConv.hpp"
13 
14 #include "CglCutGenerator.hpp"
15 #include "CouenneJournalist.hpp"
16 #include "IpOptionsList.hpp"
17 
18 using namespace Couenne;
19 
22  JnlstPtr,
24  setup ();
25 }
26 
29 
30  CglCutGenerator (src) {
31 }
32 
35 
36 
37 }
38 
41 
42  roptions -> AddLowerBoundedIntegerOption
43  ("crossconv_cuts",
44  "The frequency (in terms of nodes) at which Couenne cross-aux convexification cuts are generated.",
45  -99, 0,
46  "A frequency of 0 (default) means these cuts are never generated. "
47  "Any positive number n instructs Couenne to generate them at every n nodes of the B&B tree. "
48  "A negative number -n means that generation should be attempted at the root node, and if successful it can be repeated at every n nodes, otherwise it is stopped altogether."
49  );
50 }
CouenneCrossConv(CouenneProblem *, JnlstPtr, const Ipopt::SmartPtr< Ipopt::OptionsList >)
constructor
static void registerOptions(Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
Add list of options to be read from file.
virtual ~CouenneCrossConv()
destructor
Class for MINLP problems with symbolic information.
Cut Generator that uses relationships between auxiliaries.
virtual void setup()
Set up data structure to detect redundancies.