เกี่ยวกับเครื่องมือ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
หรือเครื่องมือคือซอฟต์แวร์โอเพนซอร์สสําหรับการเพิ่มประสิทธิภาพชุดค่าผสม ซึ่งเสาะหาวิธีแก้ไขปัญหาที่ดีที่สุดจากโซลูชันที่เป็นไปได้เป็นจํานวนมาก ตัวอย่างปัญหาที่เครื่องมือ OR แก้ไขได้มีดังนี้
- การกําหนดเส้นทางของยานพาหนะ: ค้นหาเส้นทางที่ดีที่สุดสําหรับยานพาหนะที่รับและส่งพัสดุตามข้อจํากัด (เช่น "รถบรรทุกหนักไม่เกิน 20,000 ปอนด์" หรือ "ต้องนําส่งทั้งหมดภายในกรอบเวลา 2 ชั่วโมง"
- การกําหนดเวลา: ค้นหากําหนดเวลาที่ดีที่สุดสําหรับชุดงานที่ซับซ้อน บางงานต้องดําเนินการก่อนเครื่องอื่นๆ ในชุดเครื่องคงที่ หรือทรัพยากรอื่นๆ
- บรรจุหีบห่อ: บรรจุวัตถุขนาดต่างๆ ให้มากที่สุดโดยใช้ถังเก็บความจุสูงสุด
ในกรณีส่วนใหญ่ ปัญหาเหล่านี้มีโซลูชันที่เป็นไปได้อย่างมาก สําหรับคอมพิวเตอร์ส่วนใหญ่สามารถค้นหาได้ทั้งหมด
เพื่อแก้ไขปัญหานี้ OR-Tools จะใช้อัลกอริทึมล้ําสมัยเพื่อจํากัดชุดการค้นหาให้แคบลงเพื่อค้นหาโซลูชันที่เหมาะสม (หรือใกล้ที่สุด)
"หรือ" มีเครื่องมือแก้ปัญหาสําหรับสิ่งต่อไปนี้
- ข้อจํากัดด้านการจัดโปรแกรม
- ชุดเทคนิคในการค้นหาวิธีแก้ปัญหาที่เป็นไปได้ซึ่งแสดงเป็นข้อจํากัด (เช่น ไม่สามารถใช้ห้องสําหรับ 2 เหตุการณ์พร้อมกัน หรือกําหนดระยะที่ครอบตัดต้องน้อยกว่าความยาวของท่อ หรือบันทึกรายการทีวีได้ไม่เกิน 5 รายการพร้อมกัน)
- การจัดโปรแกรมแบบรวมและเป็นจํานวนเต็ม
- เครื่องมือเพิ่มประสิทธิภาพเชิงเส้นของ Glop จะหาค่าฟังก์ชันฟังก์ชันเชิงเส้นแบบเชิงเส้นที่เหมาะสมไปใช้ โดยใช้อสมการเชิงเส้นเป็นข้อจํากัด
(เช่น มอบหมายผู้ใช้ไปยังงาน หรือค้นหาการจัดสรรทรัพยากรที่ดีที่สุดขณะที่ลดค่าใช้จ่าย) Glop และซอฟต์แวร์การจัดโปรแกรมแบบจํานวนเต็ม
SCIP ยังพร้อมใช้งานผ่านบริการเพิ่มประสิทธิภาพสคริปต์ของ Google Apps อีกด้วย
- การกําหนดเส้นทางสําหรับยานพาหนะ
- คลังเฉพาะในการระบุเส้นทางยานพาหนะที่ดีที่สุดตามข้อจํากัด
- อัลกอริทึมกราฟ
- โค้ดสําหรับค้นหาเส้นทางที่สั้นที่สุดในกราฟ โฟลว์ต้นทุนขั้นต่ํา ขั้นตอนสูงสุด และการผลรวมเชิงเส้น
ส่วนถัดไปจะช่วยให้คุณเริ่มใช้เครื่องมือ OR ได้อย่างรวดเร็ว
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-09 UTC
[null,null,["อัปเดตล่าสุด 2024-08-09 UTC"],[[["\u003cp\u003eOR-Tools is an open source software that helps find the best solution among many possibilities for problems like vehicle routing, scheduling, and bin packing.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes advanced algorithms to efficiently search for optimal or near-optimal solutions without having to examine every single possibility.\u003c/p\u003e\n"],["\u003cp\u003eOR-Tools offers various solvers including constraint programming, linear and mixed-integer programming, vehicle routing, and graph algorithms for diverse problem-solving needs.\u003c/p\u003e\n"],["\u003cp\u003eThese solvers can tackle complex scenarios with limitations like resource capacities, scheduling dependencies, and route optimization.\u003c/p\u003e\n"]]],["OR-Tools tackles combinatorial optimization problems, aiming to find the best solution from numerous possibilities. It addresses challenges like vehicle routing, scheduling, and bin packing. The software uses advanced algorithms to efficiently narrow the search for optimal solutions. It features solvers for Constraint Programming, handling problems with constraints, Linear and Mixed-Integer Programming for optimizing linear functions, specialized Vehicle Routing, and Graph Algorithms for path and flow calculations. OR-Tools can help in the process of finding feasible or optimal solutions.\n"],null,["# About OR-Tools\n\nOR-Tools is open source software for *combinatorial optimization*, which seeks\nto find the best solution to a problem out of a very large set of possible\nsolutions. Here are some examples of problems that OR-Tools solves:\n\n- Vehicle routing: Find optimal routes for vehicle fleets that pick up and deliver packages given constraints (e.g., \"this truck can't hold more than 20,000 pounds\" or \"all deliveries must be made within a two-hour window\").\n- Scheduling: Find the optimal schedule for a complex set of tasks, some of which need to be performed before others, on a fixed set of machines, or other resources.\n- Bin packing: Pack as many objects of various sizes as possible into a fixed number of bins with maximum capacities.\n\nIn most cases, problems like these have a vast number of possible\nsolutions---too many for a computer to search them all.\nTo overcome this, OR-Tools uses state-of-the-art algorithms to narrow down the\nsearch set, in order to find an optimal (or close to optimal) solution.\n\nOR-Tools includes solvers for:\n\n[Constraint Programming](/optimization/cp)\n: A set of techniques for finding feasible solutions to a problem expressed as\n *constraints* (e.g., a room can't be used for two events simultaneously, or the\n distance to the crops must be less than the length of the hose, or no more than\n five TV shows can be recorded at once).\n\n[Linear and Mixed-Integer Programming](/optimization/lp)\n: The [Glop](/optimization/lp/glop) linear optimizer finds the optimal value of\n a linear objective function, given a set of linear inequalities as constraints\n (e.g., assigning people to jobs, or finding the best allocation of a set of\n resources while minimizing cost). Glop and the mixed-integer programming\n software [SCIP](http://scip.zib.de) are also available via the Google Apps\n Script [Optimization Service](/apps-script/reference/optimization).\n\n[Vehicle Routing](/optimization/routing)\n: A specialized library for identifying best vehicle routes given constraints.\n\n[Graph Algorithms](/optimization/flow)\n: Code for finding shortest paths in graphs, min-cost flows, max flows, and\n linear sum assignments.\n\nThe [next section](/optimization/introduction/get_started) will get you started\nusing OR-Tools quickly."]]