-
Notifications
You must be signed in to change notification settings - Fork 51
Tool to compare solving LP JSON datasets with apis/modelers #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: branch-25.10
Are you sure you want to change the base?
Conversation
- [https://jump.dev/JuMP.jl/stable/packages/cuOpt/](https://jump.dev/JuMP.jl/stable/packages/cuOpt/) | ||
|
||
### Environment Setup | ||
For C and Julia APIs, set the library path: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For C and Julia APIs, set the library path: | |
For C and Julia APIs, set the library path, | |
Conda: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work @tmckayus have a minor set of comments, also had a request, lets add an option to install all the required libraries through a requirements.txt file so users can install these directly.
```bash | ||
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pip: | |
```bash | |
export LD_LIBRARY_PATH=COMPLETE_PATH_TO_libcuopt.so |
#!/usr/bin/env python3 | ||
|
||
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # noqa | ||
# SPDX-License-Identifier: Apache-2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets change the license to MIT
#!/usr/bin/env python3 | ||
|
||
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # noqa | ||
# SPDX-License-Identifier: Apache-2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above, use MIT license
@@ -0,0 +1,148 @@ | |||
# Makefile for cuOpt JSON to C API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
License header
@@ -0,0 +1,40 @@ | |||
# Build Guide for cuOpt JSON to C API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to build c_api_driver or it will get built as part of benchmark script ?
also fix verbose flag in benchmark script for cvxpy
If env var CUOPT_EXTRA_TIMESTAMPS is set, cuopt will emit extra timestamps to use for timing. If the extra timestamps are not present, fall back on overall run time and reported solver time.
This change includes applications to read a cuOpt LP/MIP dataset in JSON format and solve the problem using a particular API or modeling language. Additionally, there is a benchmark script to compare running the problem across the various APIs and modelers. This can be used to examine the overhead differences and any objective value differences between the various interfaces.