00001 // Copyright (C) 2004, 2007 International Business Machines and others. 00002 // All Rights Reserved. 00003 // This code is published under the Common Public License. 00004 // 00005 // $Id: IpMuOracle.hpp 1001 2007-06-18 20:36:53Z andreasw $ 00006 // 00007 // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13 00008 00009 #ifndef __IPMUORACLE_HPP__ 00010 #define __IPMUORACLE_HPP__ 00011 00012 #include "IpAlgStrategy.hpp" 00013 00014 namespace Ipopt 00015 { 00016 00021 class MuOracle : public AlgorithmStrategyObject 00022 { 00023 public: 00027 MuOracle() 00028 {} 00030 virtual ~MuOracle() 00031 {} 00033 00035 virtual bool InitializeImpl(const OptionsList& options, 00036 const std::string& prefix) = 0; 00037 00046 virtual bool CalculateMu(Number mu_min, Number mu_max, Number& new_mu) = 0; 00047 00048 private: 00057 00059 MuOracle(const MuOracle&); 00060 00062 void operator=(const MuOracle&); 00064 00065 }; 00066 00067 } // namespace Ipopt 00068 00069 #endif