12
votes
Will there be Rust APIs for state-of-the-art solvers?
The upcoming 10.1 version of Mosek includes a fully documented Rust API. It is currently in beta mode.
At our GitHub page you find more info about Rust and Mosek.
11
votes
What is the difference between optimization software APIs based on performance and speed?
The difference between a C++ and Python API can be massive, but it also depends on the quality of the Python implementation.
A key factor to consider when setting expectations, is the way the API is ...
9
votes
Accepted
How to reduce an LP problem already in its standard form?
Concept
The tools you are referring to are commonly called presolvers.
Resources (Implementation) / Availability
Every optimization software makes use of those (to improve performance, but also ...
8
votes
Will there be Rust APIs for state-of-the-art solvers?
This is what @mattmilten mentioned in the Gurobi forum.
There is no official native Rust API for Gurobi, yet. There are tool
to generate C bindings for Rust that you may be able to use to call
the ...
8
votes
Accepted
Does the API affect the time Gurobi requires to find an optimum?
In addition to @Richard's answer:
The time for setting up the model, i.e. declaring variables and constraints, surely depends on the programming language you use. After the model is ready, solving ...
8
votes
Does the API affect the time Gurobi requires to find an optimum?
Once it’s passed to the underlying C library, it does not matter which API it came from. However, there may be some overhead when you are retrieving the solution through the API (for the same reasons ...
6
votes
Deploying OR Model as an API
I have made OR models accessible through APIs on Kubernetes before. It isn't too hard, no pickling involved. In general, the steps aren't unique for an OR model API, but there might be a few things to ...
5
votes
What is the difference between optimization software APIs based on performance and speed?
Python is a "slow" programming language because it is interpreted (at least CPython is), so in OR-Tools, for example, that impacts the model building speed if the model is big enough or your logic ...
5
votes
Accepted
Google API Distance Matrix
The distance depends on the shortest path, which further depends on the departure time from the origin. From the documentation of Distance API [1]
"Note: If departure time is not specified, ...
4
votes
Mosek Fusion APIs
The second line in the table at
https://www.mosek.com/documentation/
has all the Fusion manuals. For instance
https://docs.mosek.com/latest/pythonfusion/api-reference.html
is what you are looking for ...
4
votes
Deploying OR Model as an API
I think in your case you have to separate between the data and the model. The model itself is part of the service in some way. Either you hard code it into the service or you have some sort of ...
3
votes
Deploying OR Model as an API
As you have noticed there are ready-made services available for ML but not for OR. You will have to roll your own.
You can get a feel for the architecture requirements by looking at the code and REST ...
3
votes
Deploying OR Model as an API
I am unsure what exactly you want to pickle. Is the user posting data to your endpoint (the flask service)? In that case you probably need to re-run the algorithm.
In machine learning the model is ...
3
votes
Deploying OR Model as an API
Perhaps, you will find some software we built https://fuinn.github.io/mos-docs/ useful. Provides a REST API for interacting with optimization models.
2
votes
Accepted
Using CPLEX in C++, how can I efficiently alter the objective function and then resolve the problem?
In your current code, benefitOfZ is a scalar constant and Z[i] is a scalar variable. To use ...
2
votes
Accepted
How to understand the basis of LP problems given by HiGHS solver?
Here is the enum documentation:
https://ergo-code.github.io/HiGHS/stable/structures/enums/#HighsBasisStatus
But you have to infer that kLower is ...
1
vote
How to set solver options in Pyomo with GAMS Python API?
Which options to use
The problem is that the "time limit" is not handled by Pyomo (which just connects to a solver), but by the solver itself. Different solvers have different names for &...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
api × 13solver × 6
optimization × 4
cplex × 4
linear-programming × 3
mixed-integer-programming × 2
python × 1
gurobi × 1
simplex × 1
c++ × 1
branch-and-bound × 1
gams × 1
modeling-languages × 1
cutting-planes × 1
linear-algebra × 1
mosek × 1
warm-start × 1