Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
MathOpt là gì
MathOpt là một thư viện để lập mô hình và giải quyết các vấn đề tối ưu hoá toán học, chẳng hạn như các bài tập lập trình tuyến tính (LP) hoặc bài tập lập trình số nguyên hỗn hợp (MIP). MathOpt tách biệt phương pháp lập mô hình với việc giải quyết, cho phép người dùng chuyển đổi giữa các phương pháp giải pháp bằng cách thay đổi một enum (và một phần phụ thuộc bản dựng) để chọn trình giải toán.
Hãy xem video này để biết phần giới thiệu ngắn gọn về MathOpt trong Bản trình bày của hội nghị JuMP năm 2023.
Các tính năng của MathOpt
Mô hình MathOpt có thể chứa:
biến số nguyên hoặc biến liên tục
hạn chế tuyến tính hoặc bậc hai
mục tiêu tuyến tính hoặc bậc hai
nhiều mục tiêu phân cấp
các ràng buộc MIP chuyên biệt (SOS, chỉ báo, v.v.)
một số giới hạn của conic (hình nón bậc hai, sẽ có nhiều giới hạn khác)
Các mô hình được xác định độc lập với mọi trình phân giải và trình phân giải có thể được hoán đổi lẫn nhau. MathOpt hỗ trợ các trình giải toán sau:
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2024-08-09 UTC."],[[["MathOpt is a library for modeling and solving mathematical optimization problems, including linear programming (LP) and mixed integer programming (MIP)."],["MathOpt allows users to define models independently of solvers, enabling easy switching between various solvers like GLOP, PDLP, CP-SAT, SCIP, GLPK, Gurobi, and HiGHS."],["MathOpt supports a wide range of features including linear and quadratic constraints and objectives, integer and continuous variables, hierarchical objectives, and specialized MIP constraints."],["MathOpt provides client libraries in C++ and Python, along with a remote solving service for larger problems."],["MathOpt offers advanced features like infeasibility analysis, incremental solving, callbacks, duality, primal and dual rays, and more."]]],["MathOpt is a library for modeling and solving mathematical optimization problems, such as LPs and MIPs. It supports continuous or integer variables, linear/quadratic constraints and objectives, and specialized MIP/conic constraints. Users can switch between solvers like GLOP, PDLP, CP-SAT, SCIP, GLPK, Gurobi, and HiGHS, independently of the model's definition. MathOpt offers C++ and Python client libraries with example, and provides features such as infeasibility analysis, incremental solving, callbacks, duality, and warm starts.\n"]]