1 /* glpspx.h (core simplex solvers) */ 2 3 /*********************************************************************** 4 * This code is part of GLPK (GNU Linear Programming Kit). 5 * 6 * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 7 * 2009, 2010 Andrew Makhorin, Department for Applied Informatics, 8 * Moscow Aviation Institute, Moscow, Russia. All rights reserved. 9 * E-mail: <mao@gnu.org>. 10 * 11 * GLPK is free software: you can redistribute it and/or modify it 12 * under the terms of the GNU General Public License as published by 13 * the Free Software Foundation, either version 3 of the License, or 14 * (at your option) any later version. 15 * 16 * GLPK is distributed in the hope that it will be useful, but WITHOUT 17 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 18 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 19 * License for more details. 20 * 21 * You should have received a copy of the GNU General Public License 22 * along with GLPK. If not, see <http://www.gnu.org/licenses/>. 23 ***********************************************************************/ 24 25 #ifndef GLPSPX_H 26 #define GLPSPX_H 27 28 #include "glpapi.h" 29 30 #define spx_primal _glp_spx_primal 31 int spx_primal(glp_prob *lp, const glp_smcp *parm); 32 /* core LP solver based on the primal simplex method */ 33 34 #define spx_dual _glp_spx_dual 35 int spx_dual(glp_prob *lp, const glp_smcp *parm); 36 /* core LP solver based on the dual simplex method */ 37 38 #endif 39 40 /* eof */ 41