Public Member Functions | List of all members
cyclus::SolverFactory Class Reference

Detailed Description

A factory class that, given a configuration, returns a Coin::OsiSolverInterface for a solver.

it is the caller's responsibility to manage the member of the interface

Definition at line 41 of file solver_factory.h.

#include <solver_factory.h>

Public Member Functions

OsiSolverInterface * get ()
void solver_t (std::string t)
const std::string solver_t () const
std::string solver_t ()
 SolverFactory ()
 SolverFactory (std::string t)
 SolverFactory (std::string t, double tmax)

Constructor & Destructor Documentation

◆ SolverFactory() [1/3]

cyclus::SolverFactory::SolverFactory ( )

currently supported solver types are 'clp' and 'cbc'

tthe solver type
tmaxthe maximum solution time

Definition at line 78 of file

◆ SolverFactory() [2/3]

cyclus::SolverFactory::SolverFactory ( std::string  t)

Definition at line 79 of file

◆ SolverFactory() [3/3]

cyclus::SolverFactory::SolverFactory ( std::string  t,
double  tmax 

Definition at line 80 of file

Member Function Documentation

◆ get()

OsiSolverInterface * cyclus::SolverFactory::get ( )

get the configured solver

Definition at line 84 of file

◆ solver_t() [1/3]

void cyclus::SolverFactory::solver_t ( std::string  t)

get/set the solver type

Definition at line 51 of file solver_factory.h.

◆ solver_t() [2/3]

const std::string cyclus::SolverFactory::solver_t ( ) const

Definition at line 52 of file solver_factory.h.

◆ solver_t() [3/3]

std::string cyclus::SolverFactory::solver_t ( )

Definition at line 53 of file solver_factory.h.

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