Questions tagged [linearization]

Linearization refers to finding the linear approximation to a function at a given point. Linearization is a method for assessing the local stability of an equilibrium point of a dynamic system, either composed of nonlinear differential equations or discrete dynamical systems.

Linearization refers to finding the linear approximation to a function at a given point. Linearization is a method for assessing the local stability of an equilibrium point of a dynamic system, either composed of nonlinear differential equations or discrete dynamical systems. This method is used in fields such as applied math, engineering, physics, economics, and so forth.

60 questions
1
vote
3 answers

Compact Hilbert Code by Chris Hamilton - to calculate Compact Hilbert Indices

I have a multidimensional points which may have keys of the following 3 types INT(4) i.e. Short , or INT(8) or varchar(512). For this reason I can't use normal Hilbert curve transformation. I found a very good resource to calculate compact hilbert…
Basmah
  • 829
  • 3
  • 13
  • 25
1
vote
1 answer

Why is my Phobos not orbiting around my Mars? It keeps making a straight line

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) MMars = 0.64169 * (10**24) #kg MPhobos = 10.6 *…
1
vote
0 answers

How can I formulate these constraints for the optimization math programming (MIP)

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 > a[i]+b[i], then M[t][i] == 0. decision variables (int a[i],…
1
vote
1 answer

Modelica/Dymola Run Linearized Model with Initial Values

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 it with initial conditions. I found them in the…
1
vote
0 answers

Symbolic Small Quantity Approximation in MATLAB

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 leave them in their more exact form). For those…
Publius
  • 11
  • 2
1
vote
0 answers

How do I linearize a quadratic problem about graph theory?

I need to solve a maxcut problem of a graph having 4 nodes and 5 edges, but I have to do it both with a quadratic solution and a linear one. I need to transform the quadratic maxcut problem to the linear one by adding some constraints but I have no…
1
vote
0 answers

Maximizing a Ratio/Percent

I'm using cvxpy to model a problem. Inside a very large and complex LP, I create two continuous, affine (unconstrained) expressions:x and y. Due to how they are created, I know that 0 < x < y <= U. Obviously: x/y < 1. In my LP objective, how do I…
Adi Shavit
  • 16,743
  • 5
  • 67
  • 137
1
vote
0 answers

Python 3 Linearization rules

I can not find out the rules followed by python to make the linearization of the following class hierarchy: class Type(type): def __repr__(cls): return cls.__name__ class O(object, metaclass=Type): pass class F(O):pass class…
JorSan
  • 65
  • 9
1
vote
0 answers

MATLAB/Simulink R2019b Derivative Block is Linearized to Zero

I'm trying to linearize a model with an output that is dependent on the derivative of a signal. The derivative block has the following diagnostic message in the linearization advisor: Derivative block is linearized to zero when Linearization Time is…
Nick Rober
  • 11
  • 1
1
vote
1 answer

Python Linearization with Symbolic System

So, I am trying to linearize my simple Symbolic System which has a nonlinear output equation and a linear state equation. I am trying to figure out how to change the nominal value of my input, u. Aka, I want to set u0. I have figured out how to set…
1
vote
1 answer

Converting conditional subtour elimination of CVRP into normal ones

I am trying to eliminate the if condition constraints from the following CVRP formulation. I tried some big M methods on paper but failed to come up with a proper reformulation. Can you please help me to find a solution? Thanks!
tcokyasar
  • 582
  • 1
  • 9
  • 26
1
vote
0 answers

Restricted basis entry for stepwise linearization

I am working on a nonlinear function (such as x^2) using bounded stepwise linearization method. Actually, it requires some restricted conditions, namely restricted basis entry rule. It means: Only two adjacent w_ij are allowed to enter the basis. i…
rgholizadehr
  • 113
  • 3
1
vote
1 answer

Scala mixed traits assignment compatibility (hierarchy)

I have the following declarations of classes and traits class C class D extends C trait T extends C trait U extends D with T and the following assignments: val x1:C with T with U = new D with U val x2:D with T = new C with U val x3:D with T = new…
tiefenauer
  • 669
  • 7
  • 19
1
vote
1 answer

What does linearize do in this case?

def linearize(p, x): return p[0] * x**p[1] def error(p, x, y): return (np.log10(y) - np.log10(linearize(p, x))) from scipy import optimize args = freq_log[1:9063], np.abs(spec_log[1:9063]) qout, success = optimize.leastsq(error, …
user3736201
  • 99
  • 2
  • 6
1
vote
1 answer

Is the MATLAB command lsim good for linearized state space models?

A state space model is on the form: dx = Ax + Bu y = Cx + Du Nonlinear state space models which is linearized is on this form: dΔx = AΔx + BΔu Δy = CΔx + DΔu Where: Δx = [x1 - x10; x2 - x20; x3 - x30; .... ; xn - xn0] Δu = [u1 - u10; u2 -…
euraad
  • 2,467
  • 5
  • 30
  • 51