Skip to content

Commit

Permalink
checkLengthVars is not needed (coin-or#554)
Browse files Browse the repository at this point in the history
* checkLengthVars is not needed

52 characters is very restricting and HiGHS can work pretty well with longer variable names. kwargs is included in the actualSolve method with a parameter of max_var_length (default: -1) to regulate character length if needed.

* rewind kwargs and remove checklengthvars
  • Loading branch information
berkorbay authored Jul 4, 2022
1 parent e39439c commit 39e4254
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pulp/apis/highs_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ def actualSolve(self, lp):
)
lp += -lp.objective
lp.checkDuplicateVars()
lp.checkLengthVars(52)
lp.writeMPS(tmpMps) # , mpsSense=constants.LpMinimize)

# just to report duplicated variables:
Expand Down

0 comments on commit 39e4254

Please sign in to comment.