Skip to content

how to set time_limit in highs in python #2071

Answered by jajhall
yokawhhh asked this question in Q&A
Discussion options

You must be logged in to vote

The options are documented in https://ergo-code.github.io/HiGHS/stable/options/definitions/

In Python (and C++) you set the time limto to 3600s thus

h.setOptionValue("time_limit", 3600);

Replies: 1 comment

Comment options

jajhall
Dec 4, 2024
Maintainer Sponsor

You must be logged in to vote
0 replies
Answer selected by jajhall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2070 on December 04, 2024 14:57.