ldbl_lp.h

Go to the documentation of this file.
00001 #include "qs_config.h"
00002 #ifdef HAVE_LONG_DOUBLE
00003 #if HAVE_LONG_DOUBLE
00004 /****************************************************************************/
00005 /*                                                                          */
00006 /*  This file is part of QSopt_ex.                                          */
00007 /*                                                                          */
00008 /*  (c) Copyright 2006 by David Applegate, William Cook, Sanjeeb Dash,      */
00009 /*  and Daniel Espinoza                                                     */
00010 /*                                                                          */
00011 /*  Sanjeeb Dash ownership of copyright in QSopt_ex is derived from his     */
00012 /*  copyright in QSopt.                                                     */
00013 /*                                                                          */
00014 /*  This code may be used under the terms of the GNU General Public License */
00015 /*  (Version 2.1 or later) as published by the Free Software Foundation.    */
00016 /*                                                                          */
00017 /*  Alternatively, use is granted for research purposes only.               */
00018 /*                                                                          */
00019 /*  It is your choice of which of these two licenses you are operating      */
00020 /*  under.                                                                  */
00021 /*                                                                          */
00022 /*  We make no guarantees about the correctness or usefulness of this code. */
00023 /*                                                                          */
00024 /****************************************************************************/
00025 
00026 /* RCSINFO $Id: ldbl_lp.h,v 1.2 2003/11/05 16:57:39 meven Exp $ */
00027 #ifndef ldbl_LP_H
00028 #define ldbl_LP_H
00029 
00030 #include "qs_config.h"
00031 #include "ldbl_readline.h"
00032 
00033 /****************************************************************************/
00034 /*                                                                          */
00035 /*               Routines to support Reading and Writing LP Files           */
00036 /*                                                                          */
00037 /****************************************************************************/
00038 /* 
00039  * -) anything after '\' is comment 
00040  * -) Problem is optional and comes first
00041  * -) Minimize, Maximize, ... comes after Problem
00042  * -) variables consist of a-z A-Z 0-9!"#$%(),;.?@_`'{}|~ 
00043  *    don't start with a digit or '.'
00044  */
00045 
00046 #include "ldbl_lpdata.h"
00047 #include "ldbl_rawlp.h"
00048 #include "ldbl_read_lp.h"
00049 #include "ldbl_write_lp.h"
00050 
00051 extern int ldbl_ILLread_lp (
00052   ldbl_qsline_reader * file,
00053   const char *ldbl_fname,
00054   ldbl_rawlpdata * lp);
00055 extern int ldbl_ILLwrite_lp (
00056   ldbl_ILLlpdata * l,
00057   ldbl_qserror_collector * collector);
00058 
00059       /* write using current lp->reporter */
00060 extern int ldbl_ILLis_lp_name_char (
00061   int c,
00062   int pos);
00063 
00064 extern int ldbl_ILLread_constraint_name (
00065   ldbl_ILLread_lp_state * state,
00066   char **rowname);
00067 extern int ldbl_ILLread_one_constraint (
00068   ldbl_ILLread_lp_state * state,
00069   const char *rowname,
00070   ldbl_rawlpdata * lp,
00071   int allowNewColsAddRow);
00072 extern int ldbl_ILLread_constraint_expr (
00073   ldbl_ILLread_lp_state * state,
00074   ldbl_rawlpdata * lp,
00075   int rowind,
00076   int allowNew);
00077 
00078 #endif
00079 #endif
00080 #endif

Generated on Thu Mar 29 09:32:31 2012 for QSopt_ex by  doxygen 1.4.7