Questions tagged [constraint-programming]
For questions on modeling satisfaction or optimization problems in languages designed for expressing (often high-level) constraints on decision variables.
192 questions
0
votes
0
answers
59
views
Set cover constraint programming
I am interested in learning how Constraint Programming solvers implement set cover constraints internally. Specifically, I am curious to know how operations like, constraint propagation, domain ...
2
votes
1
answer
106
views
Highly Non-convex Function for Algorithm Comparison
I am designing a numerical experiment to compare the performance of various nonconvex optimization algorithms (e.g., SGD with momentum, Adam, BFGS, etc.). To do this properly, I need a challenging ...
2
votes
1
answer
104
views
Job Scheduling with Start-to-Start Precedence Constraints — Literature and Modeling Help
I’m studying a job scheduling problem where the precedence constraints are of the start-to-start type — that is, if job (i) precedes job (j), then job (j) can only start after job (i) has started:
$$
...
2
votes
1
answer
95
views
Docplex CP Model Solution Found but Can't Retrieve Decision Variable Values
I'm using Docplex's Constraint Programming model with two 4-dimensional binary decision variables:
...
1
vote
0
answers
79
views
Any x of constraint : CP Solver
I am working on CP approach for a problem with many "Select #x of items" type of constraints. It is like a set cover constraint where the goal is to select $x$ out of $n$ items to satisfy ...
0
votes
1
answer
142
views
Job Shop Scheduling Problem: Identifying Problem Type and software for automation of schedule
I am trying to make an automatic schedule generated for the first workstation for the jobs released based on the total processing time taken by each job at all workstations(excluding wait times in ...
7
votes
2
answers
2k
views
How do I improve as a rookie in the industry?
I am reaching out for help because I feel lost in my current work situation and would like to hear advice from you guys. Currently, as an operations research optimization algorithm engineer at a small ...
0
votes
1
answer
108
views
Topological sorting efficiency
Encouraged by this answer I tried formulating my problem in the CP system MiniZinc. When I tried it out on my real problem with ~40k nodes and ~500k edges, it didn't go anywhere, which is not ...
2
votes
1
answer
99
views
Effect of nonnegativity constraints on solving ILPs
Consider the integer linear program (ILP)
$$
\max \{ c^T x \mid Ax = b, x \in \mathbb{Z}^n \},
$$
where $A$ is a totally unimodular matrix. It is well known that in this case, the ILP can be solved in ...
1
vote
0
answers
48
views
I am working on a Linear Transshipment problem to find for the minimum Utilities required- problem dealing with variables
I have a Linear Transshipment problem, the objective is to find for the Minimum cost of the Utilities and i have formulated a code for the constraints in the problem and the variables which are ...
1
vote
1
answer
175
views
Scheduling optimization, adding loop change constraint
I am quite new to constraint programming and cp-sat. By following this blog post and example, I have been able to mostly tailor it to suit my shift scheduling. However there is one constraint I would ...
1
vote
1
answer
146
views
Explaining propagation of the global cardinality constraint
I am using the generalized arc consistent algorithm from Regin, J. C. (1996) to propagate the global cardinality constraint. Values are removed from the domain of a variable if the variable node and ...
0
votes
1
answer
141
views
Slow performance with simple constraint programming model
Im pretty new in the world of CP. Currently Im trying to solved a single machine scheduling problem with changeovers.
Here is my code and model:
...
2
votes
1
answer
123
views
CPLEX CP Optimizer's search phase doesn't support Restart SearchType
CPLEX CP Optimizer allows users to set search phases to specify the order in which variables are searched and the method for assigning values, thereby accelerating the search process.
However, when ...
4
votes
2
answers
1k
views
Is it necessary to iterate the simulated annealing algorithm so many times in a production scenario?
I have recently been working on coding a solution for a assembly line balancing problem. My approach is to first use a greedy algorithm to generate an initial feasible solution, and then apply ...