alpar@1254: /* -*- C++ -*- ladanyi@1435: * lemon/lp_skeleton.cc - Part of LEMON, a generic C++ optimization library alpar@1254: * alpar@1254: * Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport alpar@1359: * (Egervary Research Group on Combinatorial Optimization, 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@1313: #include alpar@1254: alpar@1254: ///\file alpar@1254: ///\brief A skeleton file to implement LP solver interfaces alpar@1254: namespace lemon { alpar@1254: alpar@1364: LpSolverBase &LpSkeleton::_newLp() alpar@1364: { alpar@1368: LpSolverBase *tmp=0; alpar@1368: return *tmp; alpar@1364: } alpar@1364: alpar@1364: LpSolverBase &LpSkeleton::_copyLp() alpar@1364: { alpar@1368: LpSolverBase *tmp=0; alpar@1368: return *tmp; alpar@1364: } alpar@1364: alpar@1313: int LpSkeleton::_addCol() alpar@1254: { alpar@1273: return ++col_num; alpar@1254: } alpar@1254: alpar@1313: int LpSkeleton::_addRow() alpar@1254: { alpar@1273: return ++row_num; alpar@1254: } alpar@1254: athos@1432: void LpSkeleton::_eraseCol(int ) { athos@1432: } athos@1432: athos@1432: void LpSkeleton::_eraseRow(int) { athos@1432: } athos@1432: alpar@1362: void LpSkeleton::_setRowCoeffs(int, alpar@1362: int, alpar@1362: int const *, alpar@1362: Value const *) alpar@1254: { alpar@1254: } alpar@1254: alpar@1362: void LpSkeleton::_setColCoeffs(int, alpar@1362: int, alpar@1362: int const *, alpar@1362: Value const *) alpar@1254: { alpar@1254: } athos@1431: athos@1431: void LpSkeleton::_setCoeff(int, int, Value ) athos@1431: { athos@1431: } athos@1431: athos@1431: alpar@1362: void LpSkeleton::_setColLowerBound(int, Value) alpar@1254: { alpar@1254: } alpar@1254: alpar@1362: void LpSkeleton::_setColUpperBound(int, Value) alpar@1254: { alpar@1254: } alpar@1254: athos@1405: // void LpSkeleton::_setRowLowerBound(int, Value) athos@1405: // { athos@1405: // } alpar@1254: athos@1405: // void LpSkeleton::_setRowUpperBound(int, Value) athos@1405: // { athos@1405: // } athos@1389: alpar@1390: void LpSkeleton::_setRowBounds(int, Value, Value) athos@1389: { athos@1389: } alpar@1254: alpar@1362: void LpSkeleton::_setObjCoeff(int, Value) alpar@1254: { alpar@1254: } alpar@1263: alpar@1313: void LpSkeleton::_setMax() alpar@1312: { alpar@1312: } alpar@1390: alpar@1313: void LpSkeleton::_setMin() alpar@1312: { alpar@1312: } alpar@1312: alpar@1390: void LpSkeleton::_clearObj() alpar@1390: { alpar@1390: } alpar@1390: alpar@1313: LpSkeleton::SolveExitStatus LpSkeleton::_solve() alpar@1263: { alpar@1293: return SOLVED; alpar@1263: } alpar@1263: alpar@1362: LpSkeleton::Value LpSkeleton::_getPrimal(int) alpar@1263: { alpar@1263: return 0; alpar@1263: } alpar@1254: alpar@1313: LpSkeleton::Value LpSkeleton::_getPrimalValue() alpar@1312: { alpar@1312: return 0; alpar@1312: } alpar@1312: alpar@1313: LpSkeleton::SolutionStatus LpSkeleton::_getPrimalStatus() alpar@1294: { alpar@1294: return OPTIMAL; alpar@1294: } alpar@1294: alpar@1254: } //namespace lemon alpar@1254: