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