Cuopt & pulp integration

I am able to successfully run cuopt on a gpu. When I try to run pulp integration examples, I am running into the following issue. Can you plz help me on this error

/opt/conda/envs/cuopt/lib/python3.10/site-packages/cuopt/linear_programming/data_model/data_model.py:284: UserWarning: Casting variable_lower_bounds from int64 to float64
super().set_variable_lower_bounds(variable_lower_bounds)
/opt/conda/envs/cuopt/lib/python3.10/site-packages/cuopt/linear_programming/data_model/data_model.py:302: UserWarning: Casting variable_upper_bounds from int64 to float64
super().set_variable_upper_bounds(variable_upper_bounds)
/opt/conda/envs/cuopt/lib/python3.10/site-packages/cuopt/linear_programming/data_model/data_model.py:198: UserWarning: Casting A_values from int64 to float64
super().set_csr_constraint_matrix(A_values, A_indices, A_offsets)
/opt/conda/envs/cuopt/lib/python3.10/site-packages/cuopt/linear_programming/data_model/data_model.py:215: UserWarning: Casting b from int64 to float64
super().set_constraint_bounds(b)
Solve() takes from 1 to 2 positional arguments but 3 were given

There was in error in the pulp integration which has been fixed in this PR (merged)

https://github.com/coin-or/pulp/pull/867

Not sure when the next pulp official release is, but you could modify your local install based on this PR if it’s not available yet. Or build from source.

1 Like

Thank you for your interest in cuOpt and for bringing this issue to our attention. We will review the matter you reported. As a suggestion, you may also wish to log the issue directly in our GitHub repository, where resolutions are prioritized more quickly and you can review prior discussions within the active community.

You can find the cuOpt repository here: [link]

Regards,

cuOpt Team

1 Like

Thanks for the prompt response. After taking the master branch checkout of pulp, the issue got fixed