{"id":61301,"library":"highs","title":"HiGHS","description":"High performance library to solve linear, mixed-integer, and convex quadratic optimization problems.","status":"active","version":"1.13.1","language":"cpp","source_language":null,"source_url":null,"tags":["optimization","linear-programming","mixed-integer","solver","mathematical"],"install":[{"cmd":"vcpkg install highs","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(highs CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE highs::highs)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"Highs.h","correct":"#include <Highs.h>"}],"quickstart":{"code":"#include \"Highs.h\"\n\nint main() {\n    Highs highs;\n    highs.setOptionValue(\"output_flag\", false);\n    // Solve a simple LP: minimize x + y subject to x + y >= 1, x >= 0, y >= 0\n    const int num_col = 2;\n    const int num_row = 1;\n    std::vector<double> col_cost = {1.0, 1.0};\n    std::vector<double> col_lower = {0.0, 0.0};\n    std::vector<double> col_upper = {1e20, 1e20};\n    std::vector<double> row_lower = {1.0};\n    std::vector<double> row_upper = {1e20};\n    std::vector<int> a_start = {0, 1};\n    std::vector<int> a_index = {0, 0};\n    std::vector<double> a_value = {1.0, 1.0};\n    highs.passModel(num_col, num_row, col_cost.data(), col_lower.data(), col_upper.data(), row_lower.data(), row_upper.data(), a_start.data(), a_index.data(), a_value.data());\n    highs.run();\n    auto solution = highs.getSolution();\n    return 0;\n}","lang":"cpp","description":"Minimal example solving a linear program with HiGHS."},"warnings":[],"env_vars":null,"search_vec":"'convex':12 'high':1,2 'integ':10,22 'librari':4 'linear':7,18 'linear-program':17 'mathemat':24 'mix':9,21 'mixed-integ':8,20 'optim':14,16 'perform':3 'problem':15 'program':19 'quadrat':13 'solv':6 'solver':23","created_at":"2026-06-17T04:45:34.162748+00:00","updated_at":"2026-06-17T04:45:34.162748+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}