glpspx.h 1.4 KB

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