Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8284407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:05:38+00:00 2026-06-08T11:05:38+00:00

I am using the IBM cplex optimizer to solve an optimization problem and I

  • 0

I am using the IBM cplex optimizer to solve an optimization problem and I don’t want all terminal prints that the optimizer does. Is there a member that turns this off in the IloCplex or IloModel class? These are the prints about cuts and iterations. Prints to the terminal are expensive and my problem will eventually be on the order of millions of variables and I don’t want to waste time with these superfluous outputs. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T11:05:41+00:00Added an answer on June 8, 2026 at 11:05 am

    Using cplex/concert, you can completely turn off cplex’s logging to the console with

    cpx.setOut(env.getNullStream())
    

    Where cpx is an IloCplex object. You can also use the setOut function to redirect logs to a file.

    There are several cplex parameters to control what gets logged, for example MIPInterval will set the number of MIP nodes searched between lines. Turning MIPDisplay to 0 will turn off the display of cuts except when new solutions are found, while MIPDisplay of 5 will show detailed information about every lp-subproblem.

    Logging-related parameters include MIPInterval MIPDisplay SimDisplay BarDisplay NetDisplay

    You set parameters with the setParam function.

    cpx.setParam(IloCplex::MIPInterval, 1000)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using IBM DB2. I want to introduce jamon to track sql performance.
I am using IBM CPLEX to model a constraint program using the C++ API.
I'm using IBM WebSphere 7.0 . I want to map CORBA naming service groups
I am having problem connecting to iSeries DB2 using IBM.Data.DB2.iSeries, but I can easily
I am trying to parse some HTML using NekoHTML . The problem is that
I am using IBM DB2 with Toad. I have a stored procedure that I
We have to store data from some flat files that is created using IBM's
I am using ibm websphere and creating a Dynamic web project . All of
Using IBM Rational ClearCase: - I have only access to Snapshot Views so NO
I'm using IBM RAD 7 (aka Eclipse 3.4) and WebSphere 7. I have an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.