Page MenuHomec4science

reduced_system_solver_structs.hpp
No OneTemporary

File Metadata

Created
Thu, Jun 20, 02:35

reduced_system_solver_structs.hpp

#ifndef SPECMICP_SPECMICP_REDUCEDSYSTEMSOLVERSTRUCTS_HPP
#define SPECMICP_SPECMICP_REDUCEDSYSTEMSOLVERSTRUCTS_HPP
#include "common.hpp"
#include "micpsolver/micpsolver_structs.hpp"
#include "specmicp/reduced_system_structs.hpp"
namespace specmicp {
//! \brief Options for the Equilibrium solver
//!
//! Most of the options are contained in the MiCP solver options
struct ReducedSystemSolverOptions
{
micpsolver::NCPfunction ncp_function; //!< the NCP function to use to solve the problem
micpsolver::MiCPSolverOptions solver_options; //!< Options of the MiCP solver
ReducedSystemOptions system_options; //!< Options for the system
bool allow_restart; //!< allow the restarting if the problem failed the first part
ReducedSystemSolverOptions():
ncp_function(micpsolver::NCPfunction::penalizedFB),
solver_options(),
system_options(),
allow_restart(true)
{}
};
} // end namespace specmicp
#endif //SPECMICP_SPECMICP_REDUCEDSYSTEMSOLVERSTRUCTS_HPP

Event Timeline