[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] GMPL messaging
From: |
Heinrich Schuchardt |
Subject: |
Re: [Help-glpk] GMPL messaging |
Date: |
Fri, 24 Oct 2014 21:55:37 +0200 |
An example is available at
http://sourceforge.net/p/glpk-java/code/HEAD/tree/trunk/examples/java/GmplSwing.java
Best regards
Heinrich Schuchardt
http://www.xypron.de
Am 24.10.14 um 21:50 schrieb technical forestry services
> Hello Heinrich
>
>
>
> Thanks for your rapid response.
>
>
>
> I'll scratch around for an example.
>
>
>
> Ta
>
>
>
> LB
>
>
>
> On 25/10/2014 8:45 a.m., Heinrich Schuchardt wrote:
>
> > Hello LB,
>
> >
>
> > implement a GlpkTerminalListener and add it to GlpkTerminal.
>
> >
>
> > Return false in method output.
>
> >
>
> > Best regards
>
> >
>
> > Heinrich Schuchardt
>
> >
>
> > http://www.xypron.de
>
> >
>
> > Am 24.10.14 um 21:38 schrieb technical forestry services
>
> >
>
> >> Hello
>
> >>
>
> >>
>
> >>
>
> >> I am using GLPK via a Java wrapper that reads and executes a GMPL
>
> >>
>
> >> program via:
>
> >>
>
> >>
>
> >>
>
> >> // read GMPL model
>
> >>
>
> >> ret = GLPK.glp_mpl_read_model(tran, fname, skip);
>
> >>
>
> >>
>
> >>
>
> >> I am wanting to suppress the messages that the GMPL code sends to the
>
> >>
>
> >> console.
>
> >>
>
> >>
>
> >>
>
> >> I can control messages generated at the GLPK level by using:
>
> >>
>
> >>
>
> >>
>
> >> // modify control parameter message level
>
> >>
>
> >> smcp.setMsg_lev(GLPK.GLP_MSG_OFF);
>
> >>
>
> >>
>
> >>
>
> >> However this does not influence messaging at the GMPL level.
>
> >>
>
> >>
>
> >>
>
> >> Any suggestions?
>
> >>
>
> >>
>
> >>
>
> >> Thanks in advance.
>
> >>
>
> >>
>
> >>
>
> >> LB
>
> >>
>
> >>
>
> >>
>
> >> ---
>
> >>
>
> >> This email is free from viruses and malware because avast! Antivirus
> >> protection is active.
>
> >>
>
> >> http://www.avast.com
>
> >>
>
> >>
>
> >>
>
> >>
>
> >>
>
> >> _______________________________________________
>
> >>
>
> >> Help-glpk mailing list
>
> >>
>
> >> address@hidden
>
> >>
>
> >> https://lists.gnu.org/mailman/listinfo/help-glpk
>
>
>
>
>
> ---
>
> This email is free from viruses and malware because avast! Antivirus
> protection is active.
>
> http://www.avast.com