Hot answers tagged

6 votes
Accepted

Is there any open source quadratic programming solver with C# API

Ipopt seems to have a C# binding. From my own experience WORHP is easy to wrap in high level languages, due a variety of interfaces compatible with different programming styles. Ipopt is a local ...
5 votes

CPLEX solver for quadratic problems with barrier algorithm

The barrier algorithm is an interior-point method i.e. it starts from a point inside the feasible region and iteratively moves towards the optimal one. This typically results in a solution that does ...
  • 175
5 votes
Accepted

Using OR-Tools with .NET and GUROBI

the library needs to find the gurobi shared library before you can create the solver. You can set GUROBI_HOME to help. you can have callbacks, but only in c++. Look for or-tools/linear_solver/...
3 votes
Accepted

How to call Cplex.AddMIPStart method

Aside https://medium.com/@AlainChabrier/warm-start-optimization-ac73eef189e9 In the documentation: ...
2 votes

How can I use warm start in C#

This looks like a plain C# programming error. Don't set startvar and startval to null ...
2 votes

Google OR returning different values depending on language

Running the C# version with or-tools master ...
2 votes

CP-SAT _ Summing variables under conditions

A few hours after posting my question here I found a concept I was not familiar with called channelling : https://github.com/google/or-tools/blob/stable/ortools/sat/doc/channeling.md I used it for my ...
  • 79
1 vote

Google OR returning different values depending on language

1 constraint on 1 job wasn't applied on code 2 because sketchy implementation of a if statement. Fixed it and updated the code on GitHub for people who need smtg similar.
  • 79
1 vote

Flexible Job Shop Problem with several resources per alternative - Ortools

The sum(bool_vars) tells you each job has only one way to be executed. It does not tell you what is 'a' way. You can reuse the bool_var from each alternative in multiple resources.
1 vote

Optimal way to ensure optional intervals are consecutive in OR-Tools

As suggested in the comments above, I went with the circuit constraint. While I am not yet sure whether it helps with the performance, it certainly offers a lot more control over the relations between ...

Only top scored, non community-wiki answers of a minimum length are eligible