Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Globals | Related Pages

sdpexit.c

00001 #include "numchol.h"
00002 #include <string.h>
00003 
00004 void ShutDown(){
00005 
00006   /*   sdpdat* sdt = sdat; */
00007   printf("\n Shutdown --  ");
00008 
00009 } /* ShutDown */
00010 
00011 
00012 int ExitProc(int  ccode,
00013              char *str)
00014 {
00015   xcode code=(xcode)ccode;
00016 
00017   printf("\n Exit -- %d : ",ccode);
00018   
00019   switch (code) {
00020     case OptFound:
00021       printf("optimal solution found");
00022       return code;
00023     case OutOfSpc:
00024       printf("out of memory space");
00025       break;
00026     default:
00027       break;
00028   }
00029   if (str) printf(", %s",str);
00030 
00031   ShutDown();
00032 
00033   printf("\n Exiting --  ");
00034 
00035   return 1;
00036 } /* ExitProc */
00037 

Generated on Fri Oct 21 14:28:37 2005 for DSDP by  doxygen 1.4.2