Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

cMpsReader.h

00001 /* OOQP                                                               *
00002  * Authors: E. Michael Gertz, Stephen J. Wright                       *
00003  * (C) 2001 University of Chicago. See Copyright Notification in OOQP */
00004 
00005 #ifndef CMPSREADER
00006 #define CMPSREADER
00007 
00008 #ifdef __cplusplus
00009 extern "C" {
00010 #endif
00011   void * newCMpsReader( char filename[], int * ierr );
00012   
00013   void cMpsReaderGetSizes( void * reader_, int * nx, int * ny, int * nz );
00014 
00015   void cMpsReaderGetNNZ( void * reader_, int * nnzQ, int * nnzA, int * nnzC );
00016 
00017   void cMpsReaderReadQpGen( void * reader_, double * f, 
00018                             double     c[],  
00019                             int    irowQ[],  int  jcolQ[],  double dQ[],
00020                             double  xlow[],  char ixlow[],
00021                             double  xupp[],  char ixupp[],
00022                             int    irowA[],  int  jcolA[],  double dA[],
00023                             double     b[],
00024                             int    irowC[],  int   jcolC[],  double dC[],
00025                             double  clow[],  char  iclow[],
00026                             double  cupp[],  char  icupp[],
00027                             int*    ierr );
00028 
00029   void cMpsReaderReadQpGenDense( void * reader_,
00030                                  double     c[],  double     Q[],
00031                                  double  xlow[],  char   ixlow[],
00032                                  double  xupp[],  char   ixupp[],
00033                                  double     A[],  double     b[],
00034                                  double     C[],
00035                                  double  clow[],  char  iclow[],
00036                                  double  cupp[],  char  icupp[],
00037                                  int*    ierr );
00038 
00039   void freeCMpsReader( void ** reader );
00040 
00041 #ifdef __cplusplus
00042 }
00043 #endif
00044 
00045 #endif
00046 

Generated on Mon May 24 17:40:45 2004 for OOQP by doxygen1.2.18