MathOpt सेवा
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
MathOpt, C++ और Python की ऑप्टिमाइज़ेशन समस्याओं को मॉडल करने और उन्हें हल करने के लिए एक एपीआई है. MathOpt सेवा, OR एपीआई में तरीकों का एक प्रयोग के तौर पर बनाया गया सेट है. इसकी मदद से, एंडपॉइंट का इस्तेमाल करके गणित के ऑप्टिमाइज़ेशन के सवालों को कहीं से भी हल किया जा सकता है:
https://optimization.googleapis.com/v1/mathopt:solveMathOptModel
MathOpt सुविधाएं
MathOpt मॉडल में ये शामिल हो सकते हैं:
- पूर्णांक या कंटिन्यूअस वैरिएबल
- लीनियर या क्वाड्रेटिक कंस्ट्रेंट
- लीनियर या क्वाड्रेटिक मकसद
मॉडल को किसी भी सॉल्वर से अलग परिभाषित किया जाता है और सॉल्वर को आपस में अदला-बदली करके बदला जा सकता है. इन सॉल्वर को SolveMathOptModel
में इस्तेमाल किया जा सकता है:
MathOpt सेवा, मॉडल को हल करते समय, MathOpt की ज़्यादातर सुविधाओं के साथ काम करती है. इनमें ये शामिल हैं:
- द्वैत
- प्रीमल और ड्यूअल रे
- सब इष्टतम प्राइमल और ड्यूअल सलूशन
- वॉर्म स्टार्ट (सॉल्यूशन या आधार के हिसाब से)
- बंद करने की वजह के बारे में पूरी जानकारी
- ब्रांचिंग प्राथमिकता
- कई सॉल्वर इंडिपेंडेंट पैरामीटर
फ़िलहाल, कॉलबैक, इंंक्रीमेंटलिज़्म, और रुकावटें काम नहीं करतीं. MathOpt सेवा, बेहतर कम्यूनिकेशन प्रोटोकॉल का इस्तेमाल करके, आने वाले समय में इन सुविधाओं के साथ काम करेगी.
सेटअप और इंस्टॉलेशन
MathOpt की रिमोट सॉल्यूशन की सुविधा का इस्तेमाल करने के लिए, आपको एक ऐसी एपीआई कुंजी की ज़रूरत होगी जिसे सेटअप गाइड में जाकर पाया जा सकता है. MathOpt, C++ और Python में क्लाइंट लाइब्रेरी उपलब्ध कराता है, जो रिलीज़ 9.9 से अब तक के OR-टूल के हिस्से के तौर पर उपलब्ध हैं.
Mathopt सेवा के बारे में कोई सवाल पूछने के लिए, or-mathopt-service+support@google.com पर संपर्क करें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-09 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-08-09 (UTC) को अपडेट किया गया."],[[["MathOpt is an API that allows you to model and solve optimization problems using C++ and Python, with the MathOpt service enabling remote problem-solving via a dedicated endpoint."],["MathOpt supports a variety of model components, including integer/continuous variables, linear/quadratic constraints, and linear/quadratic objectives, and offers flexibility in solver selection with options like GLOP, PDLP, CP-SAT, SCIP, GLPK, OSQP, and HiGHS."],["The MathOpt service provides access to features such as duality, primal and dual rays, suboptimal solutions, warm starts, detailed termination reasons, and branching priority, while callbacks, incrementalism, and interruption are planned for future updates."],["To utilize the MathOpt service's remote solving capabilities, you will need an API key and the OR-Tools client libraries (available since release 9.9) for C++ and Python."]]],["MathOpt API allows modeling and remotely solving optimization problems via the `https://optimization.googleapis.com/v1/mathopt:solveMathOptModel` endpoint, supporting integer/continuous variables, linear/quadratic constraints, and objectives. Models are solver-independent, with supported solvers including GLOP, PDLP, CP-SAT, SCIP, GLPK, OSQP, and HiGHS. Features like duality, warm starts, and detailed termination reasons are available. Access requires an API key, and client libraries are in OR-Tools release 9.9. Future features will include callbacks, incrementalism, and interruption.\n"]]