equal
deleted
inserted
replaced
1 /* -*- mode: C++; indent-tabs-mode: nil; -*- |
1 /* -*- mode: C++; indent-tabs-mode: nil; -*- |
2 * |
2 * |
3 * This file is a part of LEMON, a generic C++ optimization library. |
3 * This file is a part of LEMON, a generic C++ optimization library. |
4 * |
4 * |
5 * Copyright (C) 2003-2010 |
5 * Copyright (C) 2003-2013 |
6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport |
6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport |
7 * (Egervary Research Group on Combinatorial Optimization, EGRES). |
7 * (Egervary Research Group on Combinatorial Optimization, EGRES). |
8 * |
8 * |
9 * Permission to use, modify and distribute this software is granted |
9 * Permission to use, modify and distribute this software is granted |
10 * provided that this copyright notice appears in all copies. For |
10 * provided that this copyright notice appears in all copies. For |
146 ///Returns the variable identifier understood by GLPK. |
146 ///Returns the variable identifier understood by GLPK. |
147 int lpxCol(Col c) const { return cols(id(c)); } |
147 int lpxCol(Col c) const { return cols(id(c)); } |
148 |
148 |
149 #ifdef DOXYGEN |
149 #ifdef DOXYGEN |
150 /// Write the problem or the solution to a file in the given format |
150 /// Write the problem or the solution to a file in the given format |
151 |
151 |
152 /// This function writes the problem or the solution |
152 /// This function writes the problem or the solution |
153 /// to a file in the given format. |
153 /// to a file in the given format. |
154 /// Trying to write in an unsupported format will trigger |
154 /// Trying to write in an unsupported format will trigger |
155 /// \ref LpBase::UnsupportedFormatError. |
155 /// \ref LpBase::UnsupportedFormatError. |
156 /// \param file The file path |
156 /// \param file The file path |