Skip to content

verbose parameter #68

Open
Open
@hadipourh

Description

@hadipourh

Hi all,

I create this issue to discuss the verbose parameter.
I am feeding the solve command with the following arguments:

cp_inst.solve(timeout=time_limit, 
                      processes=self.num_of_threads, 
                      verbose=True, 
                      debug_output=Path("./debug_output.txt", intermediate_solutions=True),
                      optimisation_level=2)

My purpose is to see the solver's progress report on-the-fly through the terminal. This feature is available when we use Minizinc through the terminal. However, I could not find a configuration for this purpose in the Python interface. For example, the above configuration outputs the progress report when the running process terminates.
Is there any configuration to represent the solver's progress report on-the-fly through the terminal?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions