From 491e8e21e54229a24f2f50c50e981a553d2dc2b2 Mon Sep 17 00:00:00 2001 From: Ramakrishna Prabhu Date: Fri, 15 Aug 2025 09:44:31 -0500 Subject: [PATCH] fix pre commit --- .pre-commit-config.yaml | 2 - CONTRIBUTING.md | 2 - benchmarks/README.md | 3 -- .../cuopt/benchmark_helper.hpp | 2 +- .../cuopt/initial_problem_check.hpp | 2 +- .../linear_programming/run_mps_files.sh | 2 +- build.sh | 2 +- ci/README.md | 6 --- ci/build_docs.sh | 3 -- ci/docker/Dockerfile | 2 +- ci/docker/README.md | 2 +- ci/docker/context/README.md | 2 +- ci/docker/create_multiarch_manifest.sh | 24 ++++----- ci/docker/test_image.sh | 4 +- cmake/README.md | 3 -- conda/README.md | 3 -- cpp/README.md | 1 - .../pdlp/pdlp_warm_start_data.hpp | 2 +- .../pdlp_warm_start_data.cu | 2 +- .../utilities/ping_pong_graph.cuh | 2 +- cpp/src/math_optimization/solution_reader.hpp | 2 +- cpp/src/math_optimization/solution_writer.hpp | 2 +- cpp/src/mip/diversity/diversity_config.hpp | 2 +- cpp/src/mip/diversity/multi_armed_bandit.cu | 2 +- cpp/src/mip/diversity/multi_armed_bandit.cuh | 2 +- .../recombiners/recombiner_configs.hpp | 2 +- .../recombiners/recombiner_stats.hpp | 2 +- cpp/src/mip/diversity/weights.cuh | 2 +- .../mip/feasibility_jump/load_balancing.cuh | 2 +- cpp/src/mip/feasibility_jump/utils.cuh | 2 +- .../mip/local_search/local_search_config.hpp | 2 +- .../local_search/rounding/bounds_repair.cu | 2 +- cpp/src/mip/problem/problem_fixing.cuh | 2 +- cpp/src/utilities/double_buffer.hpp | 2 +- cpp/src/utilities/unique_pinned_ptr.hpp | 2 +- cpp/tests/utilities/test_cli.cpp | 2 +- datasets/distance_engine/traveltimes.csv | 2 +- docs/cuopt/make.bat | 2 +- docs/cuopt/source/conf.py | 3 +- docs/cuopt/source/cuopt-c/index.rst | 2 +- docs/cuopt/source/cuopt-c/lp-milp/index.rst | 2 +- docs/cuopt/source/cuopt-cli/index.rst | 1 - docs/cuopt/source/cuopt-cli/quick-start.rst | 2 +- docs/cuopt/source/cuopt-python/index.rst | 2 +- .../source/cuopt-python/lp-milp/index.rst | 4 +- .../cuopt-python/lp-milp/lp-milp-examples.rst | 52 +++++++++---------- .../cuopt-server/client-api/sh-cli-build.rst | 2 +- .../cuopt-server/csp-guides/csp-aws.rst | 1 - .../source/cuopt-server/csp-guides/index.rst | 2 +- .../source/cuopt-server/examples/index.rst | 2 +- .../examples/routing-examples.rst | 2 - docs/cuopt/source/cuopt-server/index.rst | 1 - .../source/cuopt-server/server-api/index.rst | 1 - .../cuopt-server/server-api/server-cli.rst | 2 +- docs/cuopt/source/hidden/limitations.rst | 2 +- docs/cuopt/source/hidden/mps-example.rst | 1 - docs/cuopt/source/hidden/mps-overview.rst | 2 +- docs/cuopt/source/introduction.rst | 2 +- docs/cuopt/source/license.rst | 3 -- docs/cuopt/source/open-api.rst | 1 - docs/cuopt/source/resources.rst | 1 - docs/cuopt/source/system-requirements.rst | 2 +- docs/cuopt/source/transition.rst | 5 +- helmchart/cuopt-server/README.md | 2 +- helmchart/cuopt-server/templates/_helpers.tpl | 2 +- notebooks/README.md | 2 +- python/README.md | 6 --- python/cuopt/cmake/Modules/WheelHelpers.cmake | 1 - 68 files changed, 86 insertions(+), 134 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 31d21ee02c..e9e1abedc8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,10 +18,8 @@ repos: rev: 'v5.0.0' hooks: - id: end-of-file-fixer - files: \.(mps|json|yaml|yml|txt)$ exclude: ^(datasets|helmchart)/.*\.(mps|json|yaml|yml|txt)$ - id: trailing-whitespace - files: \.(mps|json|yaml|yml|txt)$ exclude: ^datasets/.*\.(mps|json|yaml|yml|txt)$ - id: check-builtin-literals - id: check-executables-have-shebangs diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c141d3162b..3dd28dad30 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -323,5 +323,3 @@ You can skip these checks with `git commit --no-verify` or with the short versio (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. ``` - - diff --git a/benchmarks/README.md b/benchmarks/README.md index 9ce20f69ec..1280356b9c 100644 --- a/benchmarks/README.md +++ b/benchmarks/README.md @@ -1,6 +1,3 @@ # Benchmarks Scripts This directory contains the scripts for the benchmarks. - - - diff --git a/benchmarks/linear_programming/cuopt/benchmark_helper.hpp b/benchmarks/linear_programming/cuopt/benchmark_helper.hpp index 8f48b0488a..6c58c8b5dd 100644 --- a/benchmarks/linear_programming/cuopt/benchmark_helper.hpp +++ b/benchmarks/linear_programming/cuopt/benchmark_helper.hpp @@ -320,4 +320,4 @@ void mps_file_to_binary(const std::filesystem::path& filename) write_problem_info( op_problem, filename.parent_path().string() + "/problem_info_" + filename.filename().string() + ".txt"); -} \ No newline at end of file +} diff --git a/benchmarks/linear_programming/cuopt/initial_problem_check.hpp b/benchmarks/linear_programming/cuopt/initial_problem_check.hpp index 73ff4f1fac..ab2999ac73 100644 --- a/benchmarks/linear_programming/cuopt/initial_problem_check.hpp +++ b/benchmarks/linear_programming/cuopt/initial_problem_check.hpp @@ -103,4 +103,4 @@ bool test_constraint_and_variable_sanity( } if (!feasible || !feasible_variables) { CUOPT_LOG_ERROR("Initial solution is infeasible"); } return feasible_variables; -} \ No newline at end of file +} diff --git a/benchmarks/linear_programming/run_mps_files.sh b/benchmarks/linear_programming/run_mps_files.sh index b37882b465..61a8af0e04 100755 --- a/benchmarks/linear_programming/run_mps_files.sh +++ b/benchmarks/linear_programming/run_mps_files.sh @@ -266,7 +266,7 @@ worker() { echo "GPU $gpu_id processing $my_index" # Build arguments string - args="" + args="" if [ -n "$NUM_CPU_THREADS" ]; then args="$args --num-cpu-threads $NUM_CPU_THREADS" fi diff --git a/build.sh b/build.sh index 746ab0835e..0d376c5380 100755 --- a/build.sh +++ b/build.sh @@ -325,7 +325,7 @@ if hasArg deb; then echo "Error: libcuopt must be built before creating deb package. Run with 'libcuopt' target first." exit 1 fi - + echo "Building deb package..." cd "${LIBCUOPT_BUILD_DIR}" cpack -G DEB diff --git a/ci/README.md b/ci/README.md index b1344a9471..9752a2a16f 100644 --- a/ci/README.md +++ b/ci/README.md @@ -41,9 +41,3 @@ Similarly, for Conda package, There are other scripts in this directory which are used to build and test the code and are also used in the workflows as utlities. - - - - - - diff --git a/ci/build_docs.sh b/ci/build_docs.sh index 10f331896f..3089358c97 100755 --- a/ci/build_docs.sh +++ b/ci/build_docs.sh @@ -42,6 +42,3 @@ rapids-print-env rapids-logger "Build Docs" ./build.sh docs - - - diff --git a/ci/docker/Dockerfile b/ci/docker/Dockerfile index 7810aa4de1..2d54e56738 100644 --- a/ci/docker/Dockerfile +++ b/ci/docker/Dockerfile @@ -83,7 +83,7 @@ COPY ./LICENSE /home/cuopt/LICENSE COPY ./VERSION /home/cuopt/VERSION COPY ./THIRD_PARTY_LICENSES /home/cuopt/THIRD_PARTY_LICENSES -FROM install-env AS cuopt-final +FROM install-env AS cuopt-final ARG PYTHON_SHORT_VER diff --git a/ci/docker/README.md b/ci/docker/README.md index 0645da0722..90f40d4ba2 100644 --- a/ci/docker/README.md +++ b/ci/docker/README.md @@ -10,4 +10,4 @@ To test the container image, run the [test_image.sh](test_image.sh) script as sh ```bash docker run -it --rm --gpus all -u root --volume $PWD:/repo -w /repo --entrypoint "/bin/bash" nvidia/cuopt:[TAG] ./ci/docker/test_image.sh -``` \ No newline at end of file +``` diff --git a/ci/docker/context/README.md b/ci/docker/context/README.md index 84191ae9ef..2f2a6ae6c8 100644 --- a/ci/docker/context/README.md +++ b/ci/docker/context/README.md @@ -1 +1 @@ -Place holder for docker context. \ No newline at end of file +Place holder for docker context. diff --git a/ci/docker/create_multiarch_manifest.sh b/ci/docker/create_multiarch_manifest.sh index a579e9e32e..767d7121fb 100644 --- a/ci/docker/create_multiarch_manifest.sh +++ b/ci/docker/create_multiarch_manifest.sh @@ -21,7 +21,7 @@ set -euo pipefail check_image_exists() { local image=$1 echo "Checking if image exists: $image" - + # Try to pull the image manifest to check if it exists if docker manifest inspect "$image" >/dev/null 2>&1; then echo "✓ Image exists: $image" @@ -37,35 +37,35 @@ create_manifest() { local manifest_name=$1 local amd64_image=$2 local arm64_image=$3 - + echo "Creating manifest: $manifest_name" - + # Check if both architecture images exist if ! check_image_exists "$amd64_image"; then echo "Error: AMD64 image not found: $amd64_image" return 1 fi - + if ! check_image_exists "$arm64_image"; then echo "Error: ARM64 image not found: $arm64_image" return 1 fi - + # Create the manifest echo "Creating multi-arch manifest..." docker manifest create --amend "$manifest_name" "$amd64_image" "$arm64_image" - + # Annotate with architecture information echo "Annotating ARM64 architecture..." docker manifest annotate "$manifest_name" "$arm64_image" --arch arm64 - + echo "Annotating AMD64 architecture..." docker manifest annotate "$manifest_name" "$amd64_image" --arch amd64 - + # Push the manifest echo "Pushing manifest: $manifest_name" docker manifest push "$manifest_name" - + echo "✓ Successfully created and pushed manifest: $manifest_name" } @@ -85,13 +85,13 @@ create_manifest \ # Only create latest manifests for release builds if [[ "${BUILD_TYPE}" == "release" ]]; then echo "=== Creating latest manifests for release build ===" - + echo "Creating Docker Hub latest manifest..." create_manifest \ "nvidia/cuopt:latest-cuda${CUDA_SHORT}-py${PYTHON_SHORT}" \ "nvidia/cuopt:${IMAGE_TAG_PREFIX}-cuda${CUDA_SHORT}-py${PYTHON_SHORT}-amd64" \ "nvidia/cuopt:${IMAGE_TAG_PREFIX}-cuda${CUDA_SHORT}-py${PYTHON_SHORT}-arm64" - + echo "Creating NVCR staging latest manifest..." create_manifest \ "nvcr.io/nvstaging/nvaie/cuopt:latest-cuda${CUDA_SHORT}-py${PYTHON_SHORT}" \ @@ -101,4 +101,4 @@ else echo "Skipping latest manifest creation (BUILD_TYPE=${BUILD_TYPE}, not 'release')" fi -echo "=== Multi-architecture manifest creation completed ===" \ No newline at end of file +echo "=== Multi-architecture manifest creation completed ===" diff --git a/ci/docker/test_image.sh b/ci/docker/test_image.sh index 1a3272cdca..6c0e4b35cd 100644 --- a/ci/docker/test_image.sh +++ b/ci/docker/test_image.sh @@ -27,8 +27,8 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends file b bash datasets/linear_programming/download_pdlp_test_dataset.sh bash datasets/mip/download_miplib_test_dataset.sh pushd ./datasets -./get_test_data.sh --solomon -./get_test_data.sh --tsp +./get_test_data.sh --solomon +./get_test_data.sh --tsp popd # Create symlink to cuopt diff --git a/cmake/README.md b/cmake/README.md index b0ab924848..28b4b48190 100644 --- a/cmake/README.md +++ b/cmake/README.md @@ -1,6 +1,3 @@ # Cmake for RAPIDS configuration This directory contains the Cmake files for the RAPIDS configuration. - - - diff --git a/conda/README.md b/conda/README.md index 585707d0a5..6f5bf2530a 100644 --- a/conda/README.md +++ b/conda/README.md @@ -3,6 +3,3 @@ This directory contains the conda recipes for the cuOpt packages which are used to build the conda packages in CI. Along with that, it also contains the environment files which is used to create the conda environment for the development of cuOpt and CI testing. - - - diff --git a/cpp/README.md b/cpp/README.md index 87be904e20..c82d17cf06 100644 --- a/cpp/README.md +++ b/cpp/README.md @@ -58,4 +58,3 @@ cpp/ The MPS parser is a standalone module that parses MPS files and converts them into a format that can be used by the cuOpt library. It is located in the `libmps_parser` directory. This also contains the `CMakeLists.txt` file to build the module. - diff --git a/cpp/include/cuopt/linear_programming/pdlp/pdlp_warm_start_data.hpp b/cpp/include/cuopt/linear_programming/pdlp/pdlp_warm_start_data.hpp index 7a0ebc4954..d897c7cf42 100644 --- a/cpp/include/cuopt/linear_programming/pdlp/pdlp_warm_start_data.hpp +++ b/cpp/include/cuopt/linear_programming/pdlp/pdlp_warm_start_data.hpp @@ -106,4 +106,4 @@ struct pdlp_warm_start_data_view_t { i_t iterations_since_last_restart_{-1}; }; -} // namespace cuopt::linear_programming \ No newline at end of file +} // namespace cuopt::linear_programming diff --git a/cpp/src/linear_programming/pdlp_warm_start_data.cu b/cpp/src/linear_programming/pdlp_warm_start_data.cu index 6d8444ea3d..f805f994a7 100644 --- a/cpp/src/linear_programming/pdlp_warm_start_data.cu +++ b/cpp/src/linear_programming/pdlp_warm_start_data.cu @@ -194,4 +194,4 @@ template class pdlp_warm_start_data_t; #if MIP_INSTANTIATE_DOUBLE template class pdlp_warm_start_data_t; #endif -} // namespace cuopt::linear_programming \ No newline at end of file +} // namespace cuopt::linear_programming diff --git a/cpp/src/linear_programming/utilities/ping_pong_graph.cuh b/cpp/src/linear_programming/utilities/ping_pong_graph.cuh index 9fd5c6586f..2b41632563 100644 --- a/cpp/src/linear_programming/utilities/ping_pong_graph.cuh +++ b/cpp/src/linear_programming/utilities/ping_pong_graph.cuh @@ -102,4 +102,4 @@ class ping_pong_graph_t { // Temporary fix to disable cuda graph in batch mode bool is_batch_mode_{false}; }; -} // namespace cuopt::linear_programming::detail \ No newline at end of file +} // namespace cuopt::linear_programming::detail diff --git a/cpp/src/math_optimization/solution_reader.hpp b/cpp/src/math_optimization/solution_reader.hpp index 1839eafb70..bf51849998 100644 --- a/cpp/src/math_optimization/solution_reader.hpp +++ b/cpp/src/math_optimization/solution_reader.hpp @@ -34,4 +34,4 @@ class solution_reader_t { static std::vector get_variable_values_from_sol_file( const std::string& sol_file_path, const std::vector& variable_names); }; -} // namespace cuopt::linear_programming \ No newline at end of file +} // namespace cuopt::linear_programming diff --git a/cpp/src/math_optimization/solution_writer.hpp b/cpp/src/math_optimization/solution_writer.hpp index 1640c90115..1374491658 100644 --- a/cpp/src/math_optimization/solution_writer.hpp +++ b/cpp/src/math_optimization/solution_writer.hpp @@ -39,4 +39,4 @@ class solution_writer_t { const std::vector& variable_names, const std::vector& variable_values); }; -} // namespace cuopt::linear_programming \ No newline at end of file +} // namespace cuopt::linear_programming diff --git a/cpp/src/mip/diversity/diversity_config.hpp b/cpp/src/mip/diversity/diversity_config.hpp index 30e7d25e47..abdbdf0bb8 100644 --- a/cpp/src/mip/diversity/diversity_config.hpp +++ b/cpp/src/mip/diversity/diversity_config.hpp @@ -42,4 +42,4 @@ struct diversity_config_t { static constexpr bool halve_population = false; }; -} // namespace cuopt::linear_programming::detail \ No newline at end of file +} // namespace cuopt::linear_programming::detail diff --git a/cpp/src/mip/diversity/multi_armed_bandit.cu b/cpp/src/mip/diversity/multi_armed_bandit.cu index 921cead995..22bc0b25a7 100644 --- a/cpp/src/mip/diversity/multi_armed_bandit.cu +++ b/cpp/src/mip/diversity/multi_armed_bandit.cu @@ -196,4 +196,4 @@ template void mab_t::add_mab_reward( int, double, double, double, recombiner_work_normalized_reward_t); #endif -} // namespace cuopt::linear_programming::detail \ No newline at end of file +} // namespace cuopt::linear_programming::detail diff --git a/cpp/src/mip/diversity/multi_armed_bandit.cuh b/cpp/src/mip/diversity/multi_armed_bandit.cuh index f48601c65d..52eef2c56b 100644 --- a/cpp/src/mip/diversity/multi_armed_bandit.cuh +++ b/cpp/src/mip/diversity/multi_armed_bandit.cuh @@ -110,4 +110,4 @@ struct mab_t { int select_epsilon_greedy_arm(); }; -} // namespace cuopt::linear_programming::detail \ No newline at end of file +} // namespace cuopt::linear_programming::detail diff --git a/cpp/src/mip/diversity/recombiners/recombiner_configs.hpp b/cpp/src/mip/diversity/recombiners/recombiner_configs.hpp index c4c3ed0b93..18c9590150 100644 --- a/cpp/src/mip/diversity/recombiners/recombiner_configs.hpp +++ b/cpp/src/mip/diversity/recombiners/recombiner_configs.hpp @@ -101,4 +101,4 @@ struct fp_recombiner_config_t { } }; -} // namespace cuopt::linear_programming::detail \ No newline at end of file +} // namespace cuopt::linear_programming::detail diff --git a/cpp/src/mip/diversity/recombiners/recombiner_stats.hpp b/cpp/src/mip/diversity/recombiners/recombiner_stats.hpp index e87cdd57a2..1486999880 100644 --- a/cpp/src/mip/diversity/recombiners/recombiner_stats.hpp +++ b/cpp/src/mip/diversity/recombiners/recombiner_stats.hpp @@ -123,4 +123,4 @@ struct all_recombine_stats { } }; -} // namespace cuopt::linear_programming::detail \ No newline at end of file +} // namespace cuopt::linear_programming::detail diff --git a/cpp/src/mip/diversity/weights.cuh b/cpp/src/mip/diversity/weights.cuh index c989b9b9c7..9f53b88473 100644 --- a/cpp/src/mip/diversity/weights.cuh +++ b/cpp/src/mip/diversity/weights.cuh @@ -38,4 +38,4 @@ struct weight_t { rmm::device_scalar objective_weight; }; -} // namespace cuopt::linear_programming::detail \ No newline at end of file +} // namespace cuopt::linear_programming::detail diff --git a/cpp/src/mip/feasibility_jump/load_balancing.cuh b/cpp/src/mip/feasibility_jump/load_balancing.cuh index f3515e5de0..b539687400 100644 --- a/cpp/src/mip/feasibility_jump/load_balancing.cuh +++ b/cpp/src/mip/feasibility_jump/load_balancing.cuh @@ -663,4 +663,4 @@ __global__ void load_balancing_sanity_checks(const __grid_constant__ __trap(); } } -} \ No newline at end of file +} diff --git a/cpp/src/mip/feasibility_jump/utils.cuh b/cpp/src/mip/feasibility_jump/utils.cuh index 212591fc9e..fa81a4ee49 100644 --- a/cpp/src/mip/feasibility_jump/utils.cuh +++ b/cpp/src/mip/feasibility_jump/utils.cuh @@ -221,4 +221,4 @@ struct contiguous_set_t { bitmap_t validity_bitmap; }; -} // namespace cuopt::linear_programming::detail \ No newline at end of file +} // namespace cuopt::linear_programming::detail diff --git a/cpp/src/mip/local_search/local_search_config.hpp b/cpp/src/mip/local_search/local_search_config.hpp index 56e17c30af..af126d3fae 100644 --- a/cpp/src/mip/local_search/local_search_config.hpp +++ b/cpp/src/mip/local_search/local_search_config.hpp @@ -26,4 +26,4 @@ struct ls_config_t { static constexpr bool use_cutting_plane_from_best_solution = false; }; -} // namespace cuopt::linear_programming::detail \ No newline at end of file +} // namespace cuopt::linear_programming::detail diff --git a/cpp/src/mip/local_search/rounding/bounds_repair.cu b/cpp/src/mip/local_search/rounding/bounds_repair.cu index 4b9c0ca504..a63c6c8669 100644 --- a/cpp/src/mip/local_search/rounding/bounds_repair.cu +++ b/cpp/src/mip/local_search/rounding/bounds_repair.cu @@ -474,4 +474,4 @@ template class bounds_repair_t; template class bounds_repair_t; #endif -}; // namespace cuopt::linear_programming::detail \ No newline at end of file +}; // namespace cuopt::linear_programming::detail diff --git a/cpp/src/mip/problem/problem_fixing.cuh b/cpp/src/mip/problem/problem_fixing.cuh index 27c9dc84f3..8a2c567fad 100644 --- a/cpp/src/mip/problem/problem_fixing.cuh +++ b/cpp/src/mip/problem/problem_fixing.cuh @@ -41,4 +41,4 @@ struct problem_fixing_helpers_t { }; } // namespace linear_programming::detail -} // namespace cuopt \ No newline at end of file +} // namespace cuopt diff --git a/cpp/src/utilities/double_buffer.hpp b/cpp/src/utilities/double_buffer.hpp index af2059872b..1d941a06e4 100644 --- a/cpp/src/utilities/double_buffer.hpp +++ b/cpp/src/utilities/double_buffer.hpp @@ -50,4 +50,4 @@ struct double_buffer_t { rmm::device_uvector bufs[2]; }; -} // namespace cuopt::linear_programming::detail \ No newline at end of file +} // namespace cuopt::linear_programming::detail diff --git a/cpp/src/utilities/unique_pinned_ptr.hpp b/cpp/src/utilities/unique_pinned_ptr.hpp index b27688eff0..66fc5d8946 100644 --- a/cpp/src/utilities/unique_pinned_ptr.hpp +++ b/cpp/src/utilities/unique_pinned_ptr.hpp @@ -44,4 +44,4 @@ std::unique_ptr> make_unique_cuda_host_pinned() return std::unique_ptr>(ptr); } -} // namespace cuopt \ No newline at end of file +} // namespace cuopt diff --git a/cpp/tests/utilities/test_cli.cpp b/cpp/tests/utilities/test_cli.cpp index ad534dfc51..ba8a31b9a8 100644 --- a/cpp/tests/utilities/test_cli.cpp +++ b/cpp/tests/utilities/test_cli.cpp @@ -200,4 +200,4 @@ int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); -} \ No newline at end of file +} diff --git a/datasets/distance_engine/traveltimes.csv b/datasets/distance_engine/traveltimes.csv index dee4513413..7f63e12ce4 100644 --- a/datasets/distance_engine/traveltimes.csv +++ b/datasets/distance_engine/traveltimes.csv @@ -410,4 +410,4 @@ WP 233,272,181,279,369,272,66,220,293,126,91,141,102,46,34,46,15,15,33,66,97,83, WP 234,250,159,256,346,250,43,197,271,104,69,118,79,24,57,68,37,37,55,44,75,61,73,93,73,84,99,115,53,453,290,522,340,508,438,497,422,342,416,374,299,283,357,302,228,223,149,110,184,147,275,312,238,356,332,619,645,634,482,513,559,468,544,528,451,436,339,452,474,411,459,308,456,305,291,441,426,275,260,276,214,325,385,215,341,369,245,261,277,356,340,521,198,323,438,357,453,373,398,478,93,332,406,465,438,399,426,352,273,287,228,242,187,399,415,382,401,384,366,432,414,396,540,576,605,593,564,527,547,513,499,521,506,480,488,466,408,378,393,365,362,394,429,414,378,347,313,350,384,368,335,298,288,232,297,260,234,314,275,238,274,305,340,358,324,290,304,288,495,456,413,374,22,69,93,66,84,105,79,370,395,391,373,464,504,446,89,143,195,202,121,158,580,339,322,518,35,0.416521534,357,273,165,210,239,178,197,207,357,376,412,396,364,329,345,460,427,444,474,257,321,333,376,355,356,404,495,473,451,480,469,430,442,454,484,462,448,470,501,354,370,445,429,433,417,424,408,394,498,415,438,468,444,425,290,336,322,381,366,299,289,278,267,360,347,309,294,288,311,301,355,371,396,352,377,325,430,446,451,608,489,307,209,199,102,288,317,277,360,401,339,383,396,232,485,601,445,441,389,366,346,296,283,306,371,320,307,337,326,318,332,350,345,325,299,193,229,223,108,452,475,505,538,469,534,302,321,313,108,446,137,163,126,107,143,82,447,306,72,87,499,476,305,213,355,303,327,319,339,319,393,373,295,333,310,331,273,291,288,284,286,319,367,392,414,455,415,390,403,378,409,395,424,506,588,627,620,485,498,466,480,50,59,76,89,111,103,125,137,105,119,132,436,489,462,520,483,469,501,524,472,349,316,312,63,59,37,23,23,22,22, X,0.122652516,0.425281376,0.538790211 WP 235,250,159,257,346,250,44,197,271,104,69,118,79,24,57,68,37,37,55,44,75,61,73,92,73,84,99,115,53,453,290,522,340,509,438,497,423,342,417,374,299,283,357,302,228,223,149,110,184,147,275,313,238,357,332,619,645,634,483,513,559,468,544,528,451,436,339,452,474,411,459,308,456,305,291,441,426,275,260,276,214,325,385,215,341,369,245,261,277,356,340,521,198,323,438,357,453,373,398,478,93,332,406,465,438,399,426,352,273,287,228,242,187,399,415,382,401,384,366,432,415,396,540,576,605,593,564,527,548,513,499,521,506,480,488,466,408,379,393,365,362,394,429,414,378,347,313,350,384,368,336,298,288,232,297,260,235,314,275,238,274,305,340,358,324,291,304,288,495,456,413,374,23,69,93,66,84,105,79,370,395,391,373,464,504,446,89,143,195,202,121,158,580,339,323,518,35,0.293869019,357,273,165,210,239,178,197,207,357,376,412,396,364,329,345,460,427,444,475,257,321,333,376,355,356,404,495,473,452,480,469,430,443,454,484,462,448,470,501,354,370,445,429,433,417,424,408,394,498,415,438,468,445,425,290,336,322,381,366,299,289,278,267,360,347,309,294,288,311,301,355,371,396,352,377,325,430,446,451,608,489,307,210,199,102,288,317,277,360,401,339,383,396,232,485,601,446,441,389,366,346,296,284,307,371,320,307,337,326,318,332,351,345,325,299,194,229,223,108,452,475,505,538,469,534,302,321,313,108,446,137,163,126,107,143,82,447,306,72,87,499,476,305,213,355,303,327,319,339,319,394,373,295,333,310,331,273,291,288,284,286,319,367,392,414,455,415,390,403,378,409,395,424,506,588,627,620,485,498,466,480,50,59,76,90,112,103,125,137,105,119,132,436,489,462,520,483,469,501,524,472,349,316,312,63,59,37,23,23,22,22,0.122652516, X,0.542985335,0.416137695 WP 236,249,159,256,346,249,43,197,270,103,68,118,79,23,57,69,37,38,55,43,75,61,73,93,73,84,100,115,53,452,289,522,339,508,438,497,422,342,416,373,299,282,357,302,227,223,148,110,184,147,275,312,238,356,331,619,645,633,482,512,558,468,544,527,451,436,339,452,473,410,458,308,455,305,290,441,425,275,260,275,213,324,385,214,341,369,244,260,276,355,339,521,198,323,437,357,453,372,397,478,92,332,405,465,438,399,426,352,272,287,228,242,186,399,415,382,400,384,366,432,414,395,539,575,604,593,564,527,547,512,498,520,505,480,487,465,407,378,392,364,361,394,429,414,377,346,312,349,384,368,335,297,288,231,296,260,234,314,275,237,273,305,340,358,324,290,303,287,494,455,412,373,23,69,93,66,84,106,80,369,394,391,372,464,503,445,89,143,194,202,121,157,579,338,322,517,35,0.249116316,356,273,165,210,239,177,196,206,357,375,411,396,364,329,344,460,426,444,474,256,321,333,375,354,356,403,494,472,451,480,468,430,442,454,484,461,448,470,501,353,369,445,429,433,417,424,408,394,497,414,438,467,444,425,290,336,321,380,366,298,288,278,266,360,346,308,294,288,311,300,355,371,395,352,377,325,429,446,450,607,489,306,209,198,101,287,316,277,360,401,339,383,395,231,485,601,445,441,389,366,346,295,283,306,371,319,307,337,326,318,331,350,344,324,299,193,229,222,108,452,475,505,538,469,534,302,320,312,108,445,137,162,126,107,143,82,447,305,71,88,498,476,305,213,354,302,327,319,339,318,393,373,294,332,310,331,273,291,287,283,286,318,366,392,413,455,414,390,403,378,409,394,423,506,588,627,620,485,497,465,479,49,59,76,90,112,104,125,138,105,120,132,435,489,462,519,483,468,501,524,471,348,316,312,62,59,38,23,23,23,23,0.425281376,0.542985335, X,0.12684764 -WP 237,249,159,256,346,249,43,197,271,103,69,118,79,23,57,69,38,37,55,43,75,61,73,93,73,85,100,115,54,452,290,522,339,508,438,497,422,342,416,374,299,282,357,302,227,223,148,110,184,147,275,312,238,356,331,619,645,633,482,512,558,468,544,527,451,436,339,452,474,410,458,308,455,305,290,441,425,275,260,275,213,324,385,215,341,369,244,260,276,355,340,521,198,323,438,357,453,372,398,478,92,332,405,465,438,399,426,352,272,287,228,242,186,399,415,382,400,384,366,432,414,396,540,575,605,593,564,527,547,512,498,520,506,480,487,465,407,378,392,364,361,394,429,414,377,346,312,349,384,368,335,297,288,231,297,260,234,314,275,237,273,305,340,358,324,290,304,288,494,455,412,373,23,69,93,66,84,106,80,370,395,391,373,464,503,445,89,143,194,202,121,157,579,338,322,517,35,0.122268677,356,273,165,210,239,177,196,206,357,375,411,396,364,329,344,460,426,444,474,257,321,333,376,354,356,403,494,472,451,480,469,430,442,454,484,461,448,470,501,353,369,445,429,433,417,424,408,394,498,414,438,467,444,425,290,336,321,380,366,298,288,278,267,360,346,309,294,288,311,300,355,371,396,352,377,325,430,446,451,607,489,306,209,199,101,287,316,277,360,401,339,383,396,231,485,601,445,441,389,366,346,295,283,306,371,319,307,337,326,318,331,350,344,324,299,193,229,222,108,452,475,505,538,469,534,302,320,312,108,445,137,162,126,107,143,82,447,305,72,88,498,476,305,213,355,302,327,319,339,318,393,373,295,332,310,331,273,291,287,283,286,318,366,392,413,455,415,390,403,378,409,395,423,506,588,627,620,485,497,465,480,50,59,76,90,112,104,125,138,106,120,132,435,489,462,519,483,468,501,524,471,348,316,312,62,59,38,23,23,23,23,0.538790211,0.416137695,0.12684764, X \ No newline at end of file +WP 237,249,159,256,346,249,43,197,271,103,69,118,79,23,57,69,38,37,55,43,75,61,73,93,73,85,100,115,54,452,290,522,339,508,438,497,422,342,416,374,299,282,357,302,227,223,148,110,184,147,275,312,238,356,331,619,645,633,482,512,558,468,544,527,451,436,339,452,474,410,458,308,455,305,290,441,425,275,260,275,213,324,385,215,341,369,244,260,276,355,340,521,198,323,438,357,453,372,398,478,92,332,405,465,438,399,426,352,272,287,228,242,186,399,415,382,400,384,366,432,414,396,540,575,605,593,564,527,547,512,498,520,506,480,487,465,407,378,392,364,361,394,429,414,377,346,312,349,384,368,335,297,288,231,297,260,234,314,275,237,273,305,340,358,324,290,304,288,494,455,412,373,23,69,93,66,84,106,80,370,395,391,373,464,503,445,89,143,194,202,121,157,579,338,322,517,35,0.122268677,356,273,165,210,239,177,196,206,357,375,411,396,364,329,344,460,426,444,474,257,321,333,376,354,356,403,494,472,451,480,469,430,442,454,484,461,448,470,501,353,369,445,429,433,417,424,408,394,498,414,438,467,444,425,290,336,321,380,366,298,288,278,267,360,346,309,294,288,311,300,355,371,396,352,377,325,430,446,451,607,489,306,209,199,101,287,316,277,360,401,339,383,396,231,485,601,445,441,389,366,346,295,283,306,371,319,307,337,326,318,331,350,344,324,299,193,229,222,108,452,475,505,538,469,534,302,320,312,108,445,137,162,126,107,143,82,447,305,72,88,498,476,305,213,355,302,327,319,339,318,393,373,295,332,310,331,273,291,287,283,286,318,366,392,413,455,415,390,403,378,409,395,423,506,588,627,620,485,497,465,480,50,59,76,90,112,104,125,138,106,120,132,435,489,462,519,483,468,501,524,471,348,316,312,62,59,38,23,23,23,23,0.538790211,0.416137695,0.12684764, X diff --git a/docs/cuopt/make.bat b/docs/cuopt/make.bat index c55595bccd..f709616beb 100644 --- a/docs/cuopt/make.bat +++ b/docs/cuopt/make.bat @@ -33,4 +33,4 @@ goto end %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% :end -popd \ No newline at end of file +popd diff --git a/docs/cuopt/source/conf.py b/docs/cuopt/source/conf.py index ce16293511..517a57da9b 100644 --- a/docs/cuopt/source/conf.py +++ b/docs/cuopt/source/conf.py @@ -338,7 +338,7 @@ def setup(app): r'https://api\.github\.com/.*', r'https://raw\.githubusercontent\.com/.*', r'https://gist\.github\.com/.*', - + # GitLab (Rate Limited) r'https://gitlab\.com/.*', r'https://api\.gitlab\.com/.*', @@ -352,4 +352,3 @@ def setup(app): app.setup_extension("sphinx.ext.autodoc") app.connect("autodoc-skip-member", skip_unwanted_inherited_members) - diff --git a/docs/cuopt/source/cuopt-c/index.rst b/docs/cuopt/source/cuopt-c/index.rst index 6743ebcebd..15414db504 100644 --- a/docs/cuopt/source/cuopt-c/index.rst +++ b/docs/cuopt/source/cuopt-c/index.rst @@ -17,4 +17,4 @@ NVIDIA cuOpt supports a C API for GPU-accelerated optimization that enables user :name: LP and MILP Optimization :titlesonly: - LP and MILP \ No newline at end of file + LP and MILP diff --git a/docs/cuopt/source/cuopt-c/lp-milp/index.rst b/docs/cuopt/source/cuopt-c/lp-milp/index.rst index 683459aa95..086bddfc09 100644 --- a/docs/cuopt/source/cuopt-c/lp-milp/index.rst +++ b/docs/cuopt/source/cuopt-c/lp-milp/index.rst @@ -12,4 +12,4 @@ This section contains details on the cuOpt LP/MILP C API. lp-milp-c-api.rst ../../lp-milp-settings.rst lp-example.rst - milp-examples.rst \ No newline at end of file + milp-examples.rst diff --git a/docs/cuopt/source/cuopt-cli/index.rst b/docs/cuopt/source/cuopt-cli/index.rst index fd0eae5295..9322c62bb6 100644 --- a/docs/cuopt/source/cuopt-cli/index.rst +++ b/docs/cuopt/source/cuopt-cli/index.rst @@ -18,4 +18,3 @@ The cuopt_cli is a command-line interface for LP/MILP solvers that accepts MPS f :titlesonly: cli-examples.rst - diff --git a/docs/cuopt/source/cuopt-cli/quick-start.rst b/docs/cuopt/source/cuopt-cli/quick-start.rst index 6ef7a4882a..4939aa788e 100644 --- a/docs/cuopt/source/cuopt-cli/quick-start.rst +++ b/docs/cuopt/source/cuopt-cli/quick-start.rst @@ -17,4 +17,4 @@ This will display the complete list of command-line arguments and their usage: :language: shell :linenos: -Please refer to :doc:`../lp-milp-settings` for more details on default values and other options. \ No newline at end of file +Please refer to :doc:`../lp-milp-settings` for more details on default values and other options. diff --git a/docs/cuopt/source/cuopt-python/index.rst b/docs/cuopt/source/cuopt-python/index.rst index 7a412804ab..7351162d03 100644 --- a/docs/cuopt/source/cuopt-python/index.rst +++ b/docs/cuopt/source/cuopt-python/index.rst @@ -30,4 +30,4 @@ This section contains details on the cuOpt Python package. :name: LP and MILP API :titlesonly: - Linear Programming and Mixed Integer Linear Programming \ No newline at end of file + Linear Programming and Mixed Integer Linear Programming diff --git a/docs/cuopt/source/cuopt-python/lp-milp/index.rst b/docs/cuopt/source/cuopt-python/lp-milp/index.rst index 0d60ccc411..358ddb6adb 100644 --- a/docs/cuopt/source/cuopt-python/lp-milp/index.rst +++ b/docs/cuopt/source/cuopt-python/lp-milp/index.rst @@ -7,8 +7,8 @@ This section contains details on the cuOpt linear programming and mixed integer .. toctree:: :maxdepth: 3 :caption: LP and MILP - :name: LP and MILP + :name: LP and MILP :titlesonly: lp-milp-api.rst - lp-milp-examples.rst \ No newline at end of file + lp-milp-examples.rst diff --git a/docs/cuopt/source/cuopt-python/lp-milp/lp-milp-examples.rst b/docs/cuopt/source/cuopt-python/lp-milp/lp-milp-examples.rst index 98ef2d75d0..7a3cfe55b0 100644 --- a/docs/cuopt/source/cuopt-python/lp-milp/lp-milp-examples.rst +++ b/docs/cuopt/source/cuopt-python/lp-milp/lp-milp-examples.rst @@ -19,7 +19,7 @@ Simple Linear Programming Example # Create a new problem problem = Problem("Simple LP") - + # Add variables x = problem.addVariable(lb=0, vtype=CONTINUOUS, name="x") y = problem.addVariable(lb=0, vtype=CONTINUOUS, name="y") @@ -30,14 +30,14 @@ Simple Linear Programming Example # Set objective function problem.setObjective(x + y, sense=MAXIMIZE) - + # Configure solver settings settings = SolverSettings() settings.set_parameter("time_limit", 60) - + # Solve the problem problem.solve(settings) - + # Check solution status if problem.Status.name == "Optimal": print(f"Optimal solution found in {problem.SolveTime:.2f} seconds") @@ -64,7 +64,7 @@ Mixed Integer Linear Programming Example # Create a new MIP problem problem = Problem("Simple MIP") - + # Add integer variables with bounds x = problem.addVariable(vtype=INTEGER, name="V_x") y = problem.addVariable(lb=10, ub=50, vtype=INTEGER, name="V_y") @@ -82,7 +82,7 @@ Mixed Integer Linear Programming Example # Solve the problem problem.solve(settings) - + # Check solution status and results if problem.Status.name == "Optimal": print(f"Optimal solution found in {problem.SolveTime:.2f} seconds") @@ -112,32 +112,32 @@ Advanced Example: Production Planning # Production planning problem problem = Problem("Production Planning") - + # Decision variables: production quantities # x1 = units of product A # x2 = units of product B x1 = problem.addVariable(lb=10, vtype=INTEGER, name="Product_A") x2 = problem.addVariable(lb=15, vtype=INTEGER, name="Product_B") - + # Resource constraints # Machine time: 2 hours per unit of A, 1 hour per unit of B, max 100 hours problem.addConstraint(2 * x1 + x2 <= 100, name="Machine_Time") - + # Labor: 1 hour per unit of A, 3 hours per unit of B, max 120 hours problem.addConstraint(x1 + 3 * x2 <= 120, name="Labor_Hours") - + # Material: 4 units per unit of A, 2 units per unit of B, max 200 units problem.addConstraint(4 * x1 + 2 * x2 <= 200, name="Material") - + # Objective: maximize profit # Profit: $50 per unit of A, $30 per unit of B problem.setObjective(50 * x1 + 30 * x2, sense=MAXIMIZE) - + # Solve with time limit settings = SolverSettings() settings.set_parameter("time_limit", 30) problem.solve(settings) - + # Display results if problem.Status.name == "Optimal": print("=== Production Planning Solution ===") @@ -146,7 +146,7 @@ Advanced Example: Production Planning print(f"Product A production: {x1.getValue()} units") print(f"Product B production: {x2.getValue()} units") print(f"Total profit: ${problem.ObjValue:.2f}") - + else: print(f"Problem not solved optimally. Status: {problem.Status.name}") @@ -171,42 +171,42 @@ Working with Expressions and Constraints from cuopt.linear_programming.solver_settings import SolverSettings problem = Problem("Expression Example") - + # Create variables x = problem.addVariable(lb=0, name="x") y = problem.addVariable(lb=0, name="y") z = problem.addVariable(lb=0, name="z") - + # Create complex expressions expr1 = 2 * x + 3 * y - z expr2 = x + y + z - + # Add constraints using expressions problem.addConstraint(expr1 <= 100, name="Complex_Constraint_1") problem.addConstraint(expr2 >= 20, name="Complex_Constraint_2") - + # Add constraint with different senses problem.addConstraint(x + y == 50, name="Equality_Constraint") problem.addConstraint(1 * x <= 30, name="Upper_Bound_X") problem.addConstraint(1 * y >= 10, name="Lower_Bound_Y") problem.addConstraint(1 * z <= 100, name="Upper_Bound_Z") - + # Set objective problem.setObjective(x + 2 * y + 3 * z, sense=MAXIMIZE) settings = SolverSettings() - settings.set_parameter("time_limit", 20) + settings.set_parameter("time_limit", 20) problem.solve(settings) - - + + if problem.Status.name == "Optimal": print("=== Expression Example Results ===") print(f"x = {x.getValue()}") print(f"y = {y.getValue()}") print(f"z = {z.getValue()}") print(f"Objective value = {problem.ObjValue}") - + The response is as follows: .. code-block:: text @@ -229,7 +229,7 @@ Incumbent solutions are intermediate feasible solutions found during the MIP sol from cuopt.linear_programming.problem import Problem, INTEGER, MAXIMIZE from cuopt.linear_programming.solver_settings import SolverSettings - from cuopt.linear_programming.solver.solver_parameters import CUOPT_TIME_LIMIT + from cuopt.linear_programming.solver.solver_parameters import CUOPT_TIME_LIMIT from cuopt.linear_programming.internals import GetSolutionCallback, SetSolutionCallback # Create a callback class to receive incumbent solutions @@ -292,7 +292,7 @@ Incumbent solutions are intermediate feasible solutions found during the MIP sol print(f"Solve time: {problem.SolveTime:.2f} seconds") print(f"Final solution: x={x.getValue()}, y={y.getValue()}") print(f"Final objective value: {problem.ObjValue:.2f}") - + The response is as follows: .. code-block:: text @@ -309,5 +309,3 @@ The response is as follows: Solve time: 0.16 seconds Final solution: x=36.0, y=40.99999999999999 Final objective value: 303.00 - - diff --git a/docs/cuopt/source/cuopt-server/client-api/sh-cli-build.rst b/docs/cuopt/source/cuopt-server/client-api/sh-cli-build.rst index 44b6a0304d..091bd54188 100644 --- a/docs/cuopt/source/cuopt-server/client-api/sh-cli-build.rst +++ b/docs/cuopt/source/cuopt-server/client-api/sh-cli-build.rst @@ -110,4 +110,4 @@ This would fetch the result in JSON format. Please refer to the :doc:`Response s .. important:: - It is user's responsibility to delete the request and solution files from the data and result directories respectively after retrieving the result. Please refer to the API spec for more details on deletion. \ No newline at end of file + It is user's responsibility to delete the request and solution files from the data and result directories respectively after retrieving the result. Please refer to the API spec for more details on deletion. diff --git a/docs/cuopt/source/cuopt-server/csp-guides/csp-aws.rst b/docs/cuopt/source/cuopt-server/csp-guides/csp-aws.rst index b79561dc1a..a5fc90b3d7 100644 --- a/docs/cuopt/source/cuopt-server/csp-guides/csp-aws.rst +++ b/docs/cuopt/source/cuopt-server/csp-guides/csp-aws.rst @@ -52,4 +52,3 @@ Step 3: Run cuOpt ------------------ To run cuOpt, you will need to log in to the NVIDIA Container Registry, pull the cuOpt container, and then run it. To test that it is successfully running, you can run a sample cuOpt request. This process is the same for deploying cuOpt on your own infrastructure. Refer to :ref:`Self-Hosted Service Quickstart Guide `. - diff --git a/docs/cuopt/source/cuopt-server/csp-guides/index.rst b/docs/cuopt/source/cuopt-server/csp-guides/index.rst index 7fd30baba5..12dd0e0e27 100644 --- a/docs/cuopt/source/cuopt-server/csp-guides/index.rst +++ b/docs/cuopt/source/cuopt-server/csp-guides/index.rst @@ -11,4 +11,4 @@ This section contains guides on how to use the cuOpt server in different cloud p :titlesonly: csp-azure.rst - csp-aws.rst \ No newline at end of file + csp-aws.rst diff --git a/docs/cuopt/source/cuopt-server/examples/index.rst b/docs/cuopt/source/cuopt-server/examples/index.rst index 6a97a902b0..e27f858309 100644 --- a/docs/cuopt/source/cuopt-server/examples/index.rst +++ b/docs/cuopt/source/cuopt-server/examples/index.rst @@ -12,4 +12,4 @@ This section contains examples on how to use the cuOpt server using the client. lp-examples.rst milp-examples.rst - routing-examples.rst \ No newline at end of file + routing-examples.rst diff --git a/docs/cuopt/source/cuopt-server/examples/routing-examples.rst b/docs/cuopt/source/cuopt-server/examples/routing-examples.rst index 21cdf10b94..c707a48324 100644 --- a/docs/cuopt/source/cuopt-server/examples/routing-examples.rst +++ b/docs/cuopt/source/cuopt-server/examples/routing-examples.rst @@ -391,5 +391,3 @@ To enable HTTPS .. code-block:: shell cuopt_sh data.json -s -c /complete/path/to/certificate -i $ip -p $port - - diff --git a/docs/cuopt/source/cuopt-server/index.rst b/docs/cuopt/source/cuopt-server/index.rst index d10420ab56..a5aebf40ce 100644 --- a/docs/cuopt/source/cuopt-server/index.rst +++ b/docs/cuopt/source/cuopt-server/index.rst @@ -44,4 +44,3 @@ Please refer to following links for more information on API and examples: :titlesonly: CSP-Guides - diff --git a/docs/cuopt/source/cuopt-server/server-api/index.rst b/docs/cuopt/source/cuopt-server/server-api/index.rst index 0d96adb9b7..cc702ae03a 100644 --- a/docs/cuopt/source/cuopt-server/server-api/index.rst +++ b/docs/cuopt/source/cuopt-server/server-api/index.rst @@ -13,4 +13,3 @@ This section contains details on Server options supported and open-api specifica server-cli.rst ../../open-api.rst ../../lp-milp-settings.rst - diff --git a/docs/cuopt/source/cuopt-server/server-api/server-cli.rst b/docs/cuopt/source/cuopt-server/server-api/server-cli.rst index 6790b47320..c9bef5727d 100644 --- a/docs/cuopt/source/cuopt-server/server-api/server-cli.rst +++ b/docs/cuopt/source/cuopt-server/server-api/server-cli.rst @@ -7,4 +7,4 @@ This section describes the cuOpt Server CLI, which is a command-line interface f .. literalinclude:: server-cli-help.txt :language: shell - :linenos: \ No newline at end of file + :linenos: diff --git a/docs/cuopt/source/hidden/limitations.rst b/docs/cuopt/source/hidden/limitations.rst index 7c319cdce9..f09024745a 100644 --- a/docs/cuopt/source/hidden/limitations.rst +++ b/docs/cuopt/source/hidden/limitations.rst @@ -36,4 +36,4 @@ Mixed Integer Linear Programming ================================ - Number of non-zeros/coefficient matrix size supported - - For ``H100`` - 27 million \ No newline at end of file + - For ``H100`` - 27 million diff --git a/docs/cuopt/source/hidden/mps-example.rst b/docs/cuopt/source/hidden/mps-example.rst index 47f335ee9f..6abf86b0d7 100644 --- a/docs/cuopt/source/hidden/mps-example.rst +++ b/docs/cuopt/source/hidden/mps-example.rst @@ -11,4 +11,3 @@ Example import cuopt_mps_parser x = cuopt_mps_parser.ParseMps('good-mps-1.mps') - diff --git a/docs/cuopt/source/hidden/mps-overview.rst b/docs/cuopt/source/hidden/mps-overview.rst index ffa12a77a8..fcdbb3dc24 100644 --- a/docs/cuopt/source/hidden/mps-overview.rst +++ b/docs/cuopt/source/hidden/mps-overview.rst @@ -2,4 +2,4 @@ NVIDIA cuOpt MPS Parser ========================= -The cuOpt MPS parser is a CPU-based parser utility that helps you access data in much more structured way. \ No newline at end of file +The cuOpt MPS parser is a CPU-based parser utility that helps you access data in much more structured way. diff --git a/docs/cuopt/source/introduction.rst b/docs/cuopt/source/introduction.rst index aaf164198f..1002821283 100644 --- a/docs/cuopt/source/introduction.rst +++ b/docs/cuopt/source/introduction.rst @@ -150,4 +150,4 @@ NVIDIA provides ready-to-use containers with cuOpt pre-installed, available from Containers offer a consistent, isolated environment and are particularly useful for cloud deployments or microservices architectures. -For detailed installation instructions for each option, please refer to the respective quickstart guides in the documentation. \ No newline at end of file +For detailed installation instructions for each option, please refer to the respective quickstart guides in the documentation. diff --git a/docs/cuopt/source/license.rst b/docs/cuopt/source/license.rst index 222f6e8a22..2e7b99eb49 100644 --- a/docs/cuopt/source/license.rst +++ b/docs/cuopt/source/license.rst @@ -4,6 +4,3 @@ cuOpt License .. literalinclude:: ../../../LICENSE :language: text - - - diff --git a/docs/cuopt/source/open-api.rst b/docs/cuopt/source/open-api.rst index cb7ed789cd..0827a6fe26 100644 --- a/docs/cuopt/source/open-api.rst +++ b/docs/cuopt/source/open-api.rst @@ -4,4 +4,3 @@ cuOpt Open-API Reference - Swagger .. swagger-plugin:: cuopt_spec.yaml :id: cuopt-api - diff --git a/docs/cuopt/source/resources.rst b/docs/cuopt/source/resources.rst index dde06479de..752ec2f3be 100644 --- a/docs/cuopt/source/resources.rst +++ b/docs/cuopt/source/resources.rst @@ -24,4 +24,3 @@ Please note that you need to choose a `Runtime` as `GPU` in order to run the not Contact us - cuopt@nvidia.com ----------------------------- - diff --git a/docs/cuopt/source/system-requirements.rst b/docs/cuopt/source/system-requirements.rst index 216b4e4e21..132e4bc472 100644 --- a/docs/cuopt/source/system-requirements.rst +++ b/docs/cuopt/source/system-requirements.rst @@ -97,4 +97,4 @@ Thin-client for Self-Hosted - x86-64 - ARM64 -* Python >= 3.10.x <= 3.12.x \ No newline at end of file +* Python >= 3.10.x <= 3.12.x diff --git a/docs/cuopt/source/transition.rst b/docs/cuopt/source/transition.rst index dd3d47bbf1..28e4cad138 100644 --- a/docs/cuopt/source/transition.rst +++ b/docs/cuopt/source/transition.rst @@ -66,7 +66,7 @@ The following fields are **New** in ``solver_configs`` for the service and repla - pdlp_solver_mode - mip_heuristics_only - + The following are **New** in ``solver_configs`` for the service but were available in the C API in 25.05 - strict_infeasibility @@ -76,6 +76,3 @@ The following are **New** in ``solver_configs`` for the service but were availab - first_primal_feasible - log_file - solution_file - - - diff --git a/helmchart/cuopt-server/README.md b/helmchart/cuopt-server/README.md index 0b1a1cec28..e0ced2d9ea 100644 --- a/helmchart/cuopt-server/README.md +++ b/helmchart/cuopt-server/README.md @@ -63,4 +63,4 @@ kubectl describe pod -l app.kubernetes.io/name=cuopt-server ## Uninstall ```bash -helm uninstall cuopt-server \ No newline at end of file +helm uninstall cuopt-server diff --git a/helmchart/cuopt-server/templates/_helpers.tpl b/helmchart/cuopt-server/templates/_helpers.tpl index d35eb80829..a0a855186e 100644 --- a/helmchart/cuopt-server/templates/_helpers.tpl +++ b/helmchart/cuopt-server/templates/_helpers.tpl @@ -59,4 +59,4 @@ Create the name of the service account to use {{- else }} {{- default "default" .Values.serviceAccount.name }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/notebooks/README.md b/notebooks/README.md index 58bea996ee..dee51240b7 100644 --- a/notebooks/README.md +++ b/notebooks/README.md @@ -2,4 +2,4 @@ This directory contains the sample notebooks for the cuOpt project. -Users can find more advanced examples in the [cuOpt Examples](https://github.com/nvidia/cuopt-examples) repository. \ No newline at end of file +Users can find more advanced examples in the [cuOpt Examples](https://github.com/nvidia/cuopt-examples) repository. diff --git a/python/README.md b/python/README.md index 47536d698c..fb144841f5 100644 --- a/python/README.md +++ b/python/README.md @@ -34,9 +34,3 @@ python/ ``` - The dependencies are defined in the [dependencies.yaml](../dependencies.yaml) file in the root folder. For example, the `python/cuopt/pyproject.toml` file contains the dependencies for the `cuopt` Python package. Therefore, any changes to dependencies should be done in the [dependencies.yaml](../dependencies.yaml) file. Please refer to different sections in the [dependencies.yaml](../dependencies.yaml) file for more details. - - - - - - diff --git a/python/cuopt/cmake/Modules/WheelHelpers.cmake b/python/cuopt/cmake/Modules/WheelHelpers.cmake index a5162e4aa4..aff46ab293 100644 --- a/python/cuopt/cmake/Modules/WheelHelpers.cmake +++ b/python/cuopt/cmake/Modules/WheelHelpers.cmake @@ -59,4 +59,3 @@ function(install_aliased_imported_targets) endif() endforeach() endfunction() -