python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Get number of attached constraints on a variable in MiniZinc
I have two sets of variables in my Minizinc program. Each variable from the first set necessarily has several constraints placed on it, but the variables in the second set are only implicitly constrai...
jon_simon
Votes: 0
Answers: 1
Microsoft Solver Foundation gives wrong answer for a simple ILP
I want to solve a binary Linear Problem in C# using Microsoft Solver Foundation. I don't know why I get wrong answer. The Objective Value should be 41.1 but I get 213. The value of 5 variables should ...
shm
Votes: 0
Answers: 1
Google OR tools: how to evaluate complex or multi-level boolean constraints
Set up
I am using the google OR tools as a constraint programming solver:
from ortools.sat.python import cp_model
I have defined the following BoolVars
model = cp_model.CpModel()
a = model.NewBoolVar...
ThaNoob
Votes: 0
Answers: 1