MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
MoochoPack::DecompositionSystemHandler_Strategy Class Referenceabstract

Interface for range/null decomposition handling. More...

#include <MoochoPack_DecompositionSystemHandler_Strategy.hpp>

Inheritance diagram for MoochoPack::DecompositionSystemHandler_Strategy:
Inheritance graph
[legend]

Public Member Functions

virtual ~DecompositionSystemHandler_Strategy ()
 
virtual bool update_decomposition (NLPAlgo &algo, NLPAlgoState &s, NLPFirstOrder &nlp, EDecompSysTesting decomp_sys_testing, EDecompSysPrintLevel decomp_sys_testing_print_level, bool *new_decomp_selected)=0
 Update the decomposition. More...
 
virtual void print_update_decomposition (const NLPAlgo &algo, const NLPAlgoState &s, std::ostream &out, const std::string &leading_spaces) const =0
 Print the algorithm used for updating the decomposition. More...
 

Public types

enum  EDecompSysTesting { DST_DEFAULT, DST_TEST, DST_NO_TEST }
 
enum  EDecompSysPrintLevel { DSPL_USE_GLOBAL, DSPL_LEAVE_DEFAULT }
 

Detailed Description

Interface for range/null decomposition handling.

ToDo: Finish documentation!

Definition at line 54 of file MoochoPack_DecompositionSystemHandler_Strategy.hpp.

Member Enumeration Documentation

Enumerator
DST_DEFAULT 
DST_TEST 
DST_NO_TEST 

Definition at line 61 of file MoochoPack_DecompositionSystemHandler_Strategy.hpp.

Enumerator
DSPL_USE_GLOBAL 
DSPL_LEAVE_DEFAULT 

Definition at line 63 of file MoochoPack_DecompositionSystemHandler_Strategy.hpp.

Constructor & Destructor Documentation

virtual MoochoPack::DecompositionSystemHandler_Strategy::~DecompositionSystemHandler_Strategy ( )
inlinevirtual

Member Function Documentation

virtual bool MoochoPack::DecompositionSystemHandler_Strategy::update_decomposition ( NLPAlgo algo,
NLPAlgoState s,
NLPFirstOrder &  nlp,
EDecompSysTesting  decomp_sys_testing,
EDecompSysPrintLevel  decomp_sys_testing_print_level,
bool *  new_decomp_selected 
)
pure virtual

Update the decomposition.

This method may select a new decomposition (permuting the variables and constriants) and/or take control of the algorithm.

Implemented in MoochoPack::DecompositionSystemHandlerStd_Strategy, and MoochoPack::DecompositionSystemHandlerVarReductPerm_Strategy.

virtual void MoochoPack::DecompositionSystemHandler_Strategy::print_update_decomposition ( const NLPAlgo algo,
const NLPAlgoState s,
std::ostream &  out,
const std::string &  leading_spaces 
) const
pure virtual

Print the algorithm used for updating the decomposition.

Implemented in MoochoPack::DecompositionSystemHandlerStd_Strategy, and MoochoPack::DecompositionSystemHandlerVarReductPerm_Strategy.


The documentation for this class was generated from the following file: