Skip to main content
0 votes
0 answers
162 views

I'm trying to solve a MILP problem in Matlab Optimization Toolbox. I'm encountering with problems with the product of two decision variable of my problem which are bounded. 0<= x <= 60 0 <= ...
Fabiana Nani's user avatar
0 votes
0 answers
53 views

I'm currently studying concepts related to linearizability and I struggle with going from the linearization points of an implementation to the actual proof of linearizability. As far as I have ...
Malaski's user avatar
-1 votes
1 answer
205 views

Main question Context: I specified an ILP encoding like the following: <some preceding constraints bounding all variables in the objective term> constraint <objective term> >= c; ...
plauer's user avatar
  • 133
0 votes
0 answers
121 views

I have tried to linearize the term product of two continuous variables in the objective function by McCormick envelopes in GAMS. However, the model does not have the constraints for the product so ...
Thành Trần's user avatar
0 votes
1 answer
329 views

I have a constraint in a MILP formulated in pyomo. Thats a general formulation of it: def constraint(m, t): return (m.y[t] <= max(0,m.x1[t] - m.x2[t])) model.constraint_c = pyo.Constraint(model....
fabmid's user avatar
  • 11
0 votes
0 answers
168 views

I have the following restriction: min(A, B), where A and B are always positive. It's very simple to linearize this using binaries, but I have a NLP problem and I don't know how to approach this. I ...
Rogério Rocha's user avatar
0 votes
1 answer
215 views

if x ≥ 100, then x -100 + p(x) ≤ 0; else p(x) ≤ 0 p(x) is a linear function. We can add x ≥ 0 if it could make it easy. I tried to make a binary variable z, if x ≥ 100, then z=1; else z=0. Then we got ...
Yinuo SHI's user avatar
0 votes
1 answer
128 views

I have a constraint in which two continuous variables are being multiplied (price and time) and as a method for linearizing my problem I want to convert price to a discete variable and then doing ...
Aida Bitaraf's user avatar
0 votes
2 answers
307 views

Suppose you have abstract classes A1 and A2. Each of them has an abstract method and a concrete method. from abc import ABC, abstractmethod class A0(ABC): pass class A1(A0, ABC): def foo(...
Yang Bo's user avatar
  • 3,773
0 votes
0 answers
508 views

I have a Linear programming problem I am trying to formulate. I need to define a variable which is the fraction of one particular variable divided by the sum of this variable over the entire set it is ...
J_Smith's user avatar
1 vote
1 answer
83 views

I don't get how to fix it. I commented out some bits because I can't seem to find the initial velocity of Phobos. Here's my code: import math import matplotlib.pyplot as plt G = 6.6743*(10**-11) ...
ship_in_a_bottle's user avatar
1 vote
0 answers
96 views

I am struggling with some constraints that have ranged variables and several decision variables. The constraints are `if a[i] <= t <= a[i]+b[i], then M[t][i] == 1, else if t < a[i] or t > ...
박상호's user avatar
2 votes
1 answer
179 views

Assume a mathematical optimization problem with two positive continuous variables: 0 <= x <= 1 0 <= y <= 1000 I am seeking of an efficient way to express in form of linear constraints (...
Manos's user avatar
  • 95
1 vote
1 answer
291 views

I am new to Dymola and I want to run a linearized model with initial conditions. I know how to Linearize it. I can get the StateSpace object in Command window or get the dslin.mat. Now I want to run ...
Axel Schweiß's user avatar
1 vote
0 answers
343 views

I am trying to make a small angle approximation in MATLAB's symbolic toolbox. This is being used for the equations of motion in a spacecraft control simulation (and yes, I need to linearize, I can't ...
Publius's user avatar
  • 11

15 30 50 per page
1
2 3 4 5