-
Hello Dimitri,
the latest version in svn now contains support for the CoinMessageHandler. In particular, the message handler of a CbcModel inside a OsiCbcSolverInterface can be accessed and the log level can be modified. The following test code accesses this functionality:
net.sourceforge.swimp.test.osicbc.TestOsiCbcSolverInterface#setUp...
2009-04-27 20:21:03 UTC by combean
-
combean committed revision 31 to the swIMP SVN repository, changing 10 files.
2009-04-27 20:13:46 UTC by combean
-
Hello Dimitri,
I'll put the wrapper for the CoinMessageHandler on the list of feature requests and will likely include it in the next release. Please inform me if you really need the feature urgently. I could then also give you hints how to quickly implement it yourself. If you don't object I'll close this support request for now.
2009-04-17 20:45:20 UTC by nobody
-
Hello combean,
thank you for your answer!
The method that you described works, but it still produces much output. In fact, all messages from Cbc are still present, but the messages from Clp are now gone.
I do much repeated calls to the Cbc solver, therefore still I get very much messages.
Therefore a wrapper of CoinMessageHandler would really help, since then it will be possible to set the...
2009-04-12 13:18:38 UTC by galaxy007
-
Hello Dimitri,
so far swIMP does not include a wrapper for the CoinMessageHandler class
that you are referring to. However, reducing the log level via setHintParam
is supported. Please have a look at
java/net/sourceforge/swimp/test/coin/AbstractTestOsiSolverInterface.java.
In the setup() method you'll find the code
this.solver.setHintParam(OsiHintParam.OsiDoReducePrint, true);
This method...
2009-04-11 21:04:16 UTC by combean
-
Hello Dimitri,
so far swIMP does not include a wrapper for the CoinMessageHandler class that you are referring to. However, reducing the log level via setHintParam is supported. Please have a look at java/net/sourceforge/swimp/test/coin/AbstractTestOsiSolverInterface.java. In the setup() method you'll find the code
this.solver.setHintParam(OsiHintParam.OsiDoReducePrint, true);
This...
2009-04-11 20:58:07 UTC by nobody
-
Dear swIMP developers,
I wonder how to set the log level for the solvers, especially for Cbc.
Is using OsiSolverInterface.setIntParam(int key, int value) the right way, and if yes, what is the right key for the log level?
As I have found, in C++ you would use
OsiClpSolverInterface* si;
si->messageHandler()->setLogLevel(0);
but these methods are not present in Java.
2009-04-10 20:26:12 UTC by galaxy007
-
combean added the swimp-0.9.5-bin-linux-x86.tar.gz file.
2009-02-02 21:55:10 UTC by combean
-
combean added the swimp-0.9.5.tar.gz file.
2009-02-02 21:55:10 UTC by combean
-
combean created the swimp-0.9.5 file release.
2009-02-02 21:48:23 UTC by combean