/[ascend]/trunk/ascend4/solver/mps.h
ViewVC logotype

Contents of /trunk/ascend4/solver/mps.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download) (as text)
Fri Oct 29 20:54:12 2004 UTC (18 years, 7 months ago) by aw0a
File MIME type: text/x-chdr
File size: 2595 byte(s)
Setting up web subdirectory in repository
1 /*
2 * write_MPS: create the actual MPS file
3 * by Craig Schmidt
4 * Created: 2/19/95
5 * Version: $Revision: 1.6 $
6 * Version control file: $RCSfile: mps.h,v $
7 * Date last modified: $Date: 1997/07/18 12:14:48 $
8 * Last modified by: $Author: mthomas $
9 *
10 * This file is part of the SLV solver.
11 *
12 * Copyright (C) 1990 Karl Michael Westerberg
13 * Copyright (C) 1993 Joseph Zaher
14 * Copyright (C) 1994 Joseph Zaher, Benjamin Andrew Allan
15 * Copyright (C) 1995 Craig Schmidt
16 *
17 * The SLV solver is free software; you can redistribute
18 * it and/or modify it under the terms of the GNU General Public License as
19 * published by the Free Software Foundation; either version 2 of the
20 * License, or (at your option) any later version.
21 *
22 * The SLV solver is distributed in hope that it will be
23 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25 * General Public License for more details.
26 *
27 * You should have received a copy of the GNU General Public License along with
28 * the program; if not, write to the Free Software Foundation, Inc., 675
29 * Mass Ave, Cambridge, MA 02139 USA. Check the file named COPYING.
30 * COPYING is found in ../compiler.
31 */
32
33 /*********************************************************************\
34 *** Contents: MPS module
35 ***
36 *** Authors: Craig Schmidt
37 ***
38 *** Dates: 02/95 - Original version
39 ***
40 *** Description: This module will create an MPS file representation
41 *** of the current system. It is passed a mps_data_t
42 *** data structure, the solver subparameters, and the
43 *** name of the file.
44 ***
45 ***********************************************************************/
46
47 #ifndef MPS__already_included
48 #define MPS__already_included
49
50 #ifdef STATIC_MPS
51
52 /* requires #include "slv6.h" */
53
54 /* writes out a file mapping the CXXXXXXX variable names with the actual ASCEND names */
55
56 extern boolean write_name_map(const char *name, /* file name without .map suffix */
57 struct var_variable **vlist); /* Variable list (NULL terminated) */
58
59 /* writes out an MPS file */
60
61 extern boolean write_MPS(const char *name, /* filename for output */
62 mps_data_t mps, /* the main chunk of data for the problem */
63 int iarray[slv6_IA_SIZE], /* Integer subparameters */
64 double rarray[slv6_RA_SIZE]); /* Real subparameters */
65
66 #endif
67
68 #endif
69

Properties

Name Value
svn:executable *

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22