주메뉴 바로가기 본문 바로가기 하단 바로가기

고객지원

기술문의

MIP 결과를 출력 안 하도록 하는 방법 없을까요?

  • 김동근
  • 2008.05.07
  • 조회수 2,063
큰 문제를 풀면서, 작은 사이즈의 문제를 MIP로 푸는데,
MIP 결과가
"Tried aggregator 1 time.
MIP Presolve eliminated ...."로 시작해서,
최종 값까지 꽤 길게 출력됩니다.

저의 경우, 중간 값들이라 굳이 출력할 필요없어서 그러는데,
이런 것들을 안 나오게 하는 방법이 없을까요?

댓글 1

  • 김태현2008-05-08
    해당 옵션을 쓰시면 됩니다.
    cplex.setParam(IloCplex::MIPDisplay, 0);

    자세한 내용은 아래와 같습니다.


    C Name
    CPX_PARAM_MIPDISPLAY

    C++ Name
    MIPDisplay

    Java Name
    MIPDisplay

    .NET Name
    MIPDisplay

    InteractiveOptimizer
    mip display


    Value Meaning
    0 No display until optimal solution has been found
    1 Display integer feasible solutions
    2 Display integer feasible solutions plus an entry for every n-th node; default
    3 Display integer feasible solutions, every n-th node entry, and number of cuts added
    4 Display integer feasible solutions, every n-th node entry, number of cuts added, and information about the LP subproblem at root
    5 Display integer feasible solutions, every n-th node entry, number of cuts added, and information about the LP subproblem at root and at nodes


    아이콘삭제

댓글 입력