Skip to main content

Questions tagged [constraint]

For questions related to constraints, i.e. any restriction or relation a set of decision variables has to satisfy.

Filter by
Sorted by
Tagged with
1 vote
0 answers
79 views

I am an engineer trying to understand how to model the following inequality in a conic-optimization-compatible form: $ y\ln\!\left(1+\frac{x}{y}\right) \ge \frac{1}{u}, \qquad x \ge 0,\; y>0,\; u&...
Tuong Nguyen Minh's user avatar
1 vote
1 answer
51 views

In a linear program need to constrain the percent change between two decision variables, $a,b$ where the percent change formula, relative to $b$ is $\frac{a-b}{b}$. I'm not sure that any arbitrary ...
jbuddy_13's user avatar
  • 521
0 votes
0 answers
35 views

Suppose that I have a number of what ideally would be hard constraints but I have reason to suspect that the problem might not be feasible. So I instead use soft constraints via slack variables. ...
jbuddy_13's user avatar
  • 521
2 votes
2 answers
156 views

This is somewhat related to this question. Here I consider the heat pump which mit be "fed" by different sources, which leads to different energy flows entering the heat pump. For example ...
Andre's user avatar
  • 345
1 vote
1 answer
77 views

I model a battery with several energy flows flowing in and out, for example PV to battery $P^\mathrm{pb}_t\in\mathbb{R}_+$ (unidirectional), Battery to heat pump $P^\mathrm{bh}_t\in\mathbb{R}_+$ (...
Andre's user avatar
  • 345
0 votes
1 answer
142 views

I try to implement an optimization in Python using pyomo. It is a grid line with controllable loads and noncontrollable loads at certain nodes of the grid. What I try to implement is a constraint that ...
Andre's user avatar
  • 345
1 vote
0 answers
111 views

I am trying to imitate the following code to implement some lazy cut myself. https://github.com/IBMDecisionOptimization/docplex-examples/blob/master/examples/mp/callbacks/cut_callback.py Here is my ...
qqzj's user avatar
  • 11
1 vote
1 answer
224 views

I have a rather "theoretical" question about the presentation of secondary conditions in a scientific paper. I have an MILP and now want to include various learning curves in this MILP. I ...
lukdooxb1's user avatar
0 votes
1 answer
66 views

I have the following question. How can I linearize this expression? $$x_{ij}=\min (1, y_{ij} +0.5)$$ I found this post, but there two variables are minimized and I was wondering if there is a shorter ...
Karl Seidl's user avatar
0 votes
0 answers
81 views

I have the following problem. I have a planning model for the Patient to Therapist Assignment problem where I have the Length of Stay ($f_i$). I have the planning period of from $1$ to $K$, in which ...
mingabua's user avatar
0 votes
1 answer
170 views

This is a follow-up question to this one. After consulting with my supervisor, we want to use the module operator for the days. Now there is a complication with the calculation of the LOS. This is ...
Iris Der's user avatar
0 votes
1 answer
121 views

I have the following question/problem. I have a scheduling problem where I minimize the length of stay. There are patients $i\in I$ and the planning period $t\in T$. Each patient has a predefined ...
Iris Der's user avatar
1 vote
1 answer
134 views

I have the following problem. I have a scheduling problem with orders $i\in I$ that enter the system at different times $t\in T$. The objective is to minimize the total sum of days in the system over ...
Dee Bb's user avatar
  • 31
1 vote
1 answer
147 views

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 ...
snap9275's user avatar
1 vote
0 answers
91 views

Resource allocation problems frequently appear in operations research, where the goal is to allocate resources optimally under various constraints. While many classic formulations assume symmetric ...
Dang Dang's user avatar

15 30 50 per page
1
2 3 4 5
21