help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] : write, output file, library


From: M B Pradeep Kumar
Subject: Re: [Help-glpk] : write, output file, library
Date: Wed, 15 Jun 2011 08:00:47 +0530

On Tue, 2011-06-14 at 16:05 -0400, sam samont wrote:
> Hello,
> 
> 
> 
> If we use the exe file (in GLPK), we can redirect output to a file
> (e.g., an m file) by -- display. In this case, we can write the output
> solution with a desired format for further analysis. For example:
> 
>  
> 
> for {i in I, j in J} {printf "X1(%d,%d)=%10.4f; \n", i, j, X1[i,j];}
> 
>                            
> 
> However, I am using the library (not the exe file); I just want to
> know which function does this job. 
> 

May be you are looking for the following functions:
void glp_term_hook(int (*)(void *, const char *),void *)

or

int glp_open_tee(const char *)
int glp_close_tee(void)


> 
> 
> Thanks in advance,
> 
> 
> Sam
> 
> 
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-glpk

-- 
Thank you
M B Pradeep Kumar




reply via email to

[Prev in Thread] Current Thread [Next in Thread]