AI prompts
base on Google's Operations Research tools: # OR-Tools - Google Optimization Tools
[![PyPI version](https://img.shields.io/pypi/v/ortools.svg)](https://pypi.org/project/ortools/)
[![PyPI download](https://img.shields.io/pypi/dm/ortools.svg)](https://pypi.org/project/ortools/#files)
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/google/or-tools/main)
\
[![NuGet version](https://img.shields.io/nuget/v/Google.OrTools.svg)](https://www.nuget.org/packages/Google.OrTools)
[![NuGet download](https://img.shields.io/nuget/dt/Google.OrTools.svg)](https://www.nuget.org/packages/Google.OrTools)
\
[![Maven Central](https://img.shields.io/maven-central/v/com.google.ortools/ortools-java)](https://mvnrepository.com/artifact/com.google.ortools/ortools-java)
\
[![Discord](https://img.shields.io/discord/693088862481678374?color=7289DA&logo=discord&style=plastic)](https://discord.gg/ENkQrdf)
Google's software suite for combinatorial optimization.
## Table of Contents
* [About OR-Tools](#about)
* [Codemap](#codemap)
* [Installation](#installation)
* [Quick Start](#quick-start)
* [Documentation](#documentation)
* [Contributing](#contributing)
* [License](#license)
<a name="about"></a>
## About OR-Tools
Google Optimization Tools (a.k.a., OR-Tools) is an open-source, fast and
portable software suite for solving combinatorial optimization problems.
The suite contains:
* Two constraint programming solver (CP* and CP-SAT);
* Two linear programming solvers (Glop and PDLP);
* Wrappers around commercial and other open source solvers, including mixed
integer solvers;
* Bin packing and knapsack algorithms;
* Algorithms for the Traveling Salesman Problem and Vehicle Routing Problem;
* Graph algorithms (shortest paths, min cost flow, max flow, linear sum
assignment).
We wrote OR-Tools in C++, but provide wrappers in Python, C# and Java.
## Codemap
This software suite is composed of the following components:
* [Makefile](Makefile) Top-level for
[GNU Make](https://www.gnu.org/software/make/manual/make.html) based build.
* [makefiles](makefiles) Subsidiary Make files, CI and build system documentation.
* [CMakeLists.txt](CMakeLists.txt) Top-level for
[CMake](https://cmake.org/cmake/help/latest/) based build.
* [cmake](cmake) Subsidiary CMake files, CI and build system documentation.
* [WORKSPACE](WORKSPACE) Top-level for
[Bazel](https://bazel.build/start/bazel-intro) based build.
* [bazel](bazel) Subsidiary Bazel files, CI and build system documentation.
* [ortools](ortools) Root directory for source code.
* [base](ortools/base) Basic utilities.
* [algorithms](ortools/algorithms) Basic algorithms.
* [samples](ortools/algorithms/samples) Carefully crafted samples.
* [graph](ortools/graph) Graph algorithms.
* [samples](ortools/graph/samples) Carefully crafted samples.
* [linear_solver](ortools/linear_solver) Linear solver wrapper.
* [samples](ortools/linear_solver/samples) Carefully crafted samples.
* [glop](ortools/glop) Simplex-based linear programming solver.
* [samples](ortools/glop/samples) Carefully crafted samples.
* [pdlp](ortools/pdlp) First-order linear programming solver.
* [samples](ortools/pdlp/samples) Carefully crafted samples.
* [lp_data](ortools/lp_data) Data structures for linear models.
* [constraint_solver](ortools/constraint_solver) Constraint and Routing
solver.
* [docs](ortools/constraint_solver/docs) Documentation of the component.
* [samples](ortools/constraint_solver/samples) Carefully crafted samples.
* [sat](ortools/sat) SAT solver.
* [docs](ortools/sat/docs) Documentation of the component.
* [samples](ortools/sat/samples) Carefully crafted samples.
* [bop](ortools/bop) Boolean solver based on SAT.
* [util](ortools/util) Utilities needed by the constraint solver
* [examples](examples) Root directory for all examples.
* [contrib](examples/contrib) Examples from the community.
* [cpp](examples/cpp) C++ examples.
* [dotnet](examples/dotnet) .Net examples.
* [java](examples/java) Java examples.
* [python](examples/python) Python examples.
* [notebook](examples/notebook) Jupyter/IPython notebooks.
* [flatzinc](examples/flatzinc) FlatZinc examples.
* [tests](examples/tests) Unit tests and bug reports.
* [tools](tools) Delivery Tools (e.g. Windows GNU binaries, scripts, release dockers)
## Installation
This software suite has been tested under:
* Ubuntu 18.04 LTS and up (64-bit);
* Apple macOS Mojave with Xcode 9.x (64-bit);
* Microsoft Windows with Visual Studio 2022 (64-bit).
OR-Tools currently builds with a Makefile, but also provides Bazel and CMake
support.
For installation instructions (both source and binary), please visit
https://developers.google.com/optimization/introduction/installing.
### Build from source using Make (legacy)
We provide a Make based build.<br>Please check the
[Make build instructions](makefiles/README.md).
### Build from source using CMake
We provide a CMake based build.<br>Please check the
[CMake build instructions](cmake/README.md).
### Build from source using Bazel
We provide a Bazel based build.<br>Please check the
[Bazel build instructions](bazel/README.md).
## Quick Start
The best way to learn how to use OR-Tools is to follow the tutorials in our
developer guide:
https://developers.google.com/optimization/introduction/get_started
If you want to learn from code examples, take a look at the examples in the
[examples](examples) directory.
## Documentation
The complete documentation for OR-Tools is available at:
https://developers.google.com/optimization/
## Contributing
The [CONTRIBUTING.md](CONTRIBUTING.md) file contains instructions on how to
submit the Contributor License Agreement before sending any pull requests (PRs).
Of course, if you're new to the project, it's usually best to discuss any
proposals and reach consensus before sending your first PR.
## License
The OR-Tools software suite is licensed under the terms of the Apache License 2.0.
<br>See [LICENSE](LICENSE) for more information.
", Assign "at most 3 tags" to the expected json: {"id":"429","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"