diff -r c9c2e90b2342 -r c3dc75d4af24 src/lemon/lp_solver_skeleton.cc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/lemon/lp_solver_skeleton.cc Tue Apr 05 09:08:23 2005 +0000 @@ -0,0 +1,84 @@ +/* -*- C++ -*- + * src/lemon/lp_solver_skeleton.cc + * - Part of LEMON, a generic C++ optimization library + * + * Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport + * (Egervary Combinatorial Optimization Research Group, EGRES). + * + * Permission to use, modify and distribute this software is granted + * provided that this copyright notice appears in all copies. For + * precise terms see the accompanying LICENSE file. + * + * This software is provided "AS IS" with no warranty of any kind, + * express or implied, and with no claim as to its suitability for any + * purpose. + * + */ + +#include + +///\file +///\brief A skeleton file to implement LP solver interfaces +namespace lemon { + + int LpSolverSkeleton::_addCol() + { + return ++col_num; + } + + int LpSolverSkeleton::_addRow() + { + return ++row_num; + } + + void LpSolverSkeleton::_setRowCoeffs(int i, + int length, + int const * indices, + Value const * values ) + { + } + + void LpSolverSkeleton::_setColCoeffs(int i, + int length, + int const * indices, + Value const * values) + { + } + + void LpSolverSkeleton::_setColLowerBound(int i, Value value) + { + } + + void LpSolverSkeleton::_setColUpperBound(int i, Value value) + { + } + + void LpSolverSkeleton::_setRowLowerBound(int i, Value value) + { + } + + void LpSolverSkeleton::_setRowUpperBound(int i, Value value) + { + } + + void LpSolverSkeleton::_setObjCoeff(int i, Value obj_coef) + { + } + + LpSolverSkeleton::SolveExitStatus LpSolverSkeleton::_solve() + { + return SOLVED; + } + + LpSolverSkeleton::Value LpSolverSkeleton::_getPrimal(int i) + { + return 0; + } + + LpSolverSkeleton::SolutionStatus LpSolverSkeleton::_getPrimalType() + { + return OPTIMAL; + } + +} //namespace lemon +