Questions tagged [constraint]
The constraint tag has no summary.
168 questions
5 votes
1 answer
128 views
For this 2x2 matrix, how to find real parameters such that its determinant and trace vanish simultaneously?
I have a matrix M = {{-num11/(2*den), num12/den}, {num12/den, num22/(2*den)}}; with ...
5 votes
1 answer
143 views
Finding real solutions for a complex rational expression with constraints in Mathematica
I have a rather large rational expression exp involving real variables $x_1, x_2, \dots, x_{10}$. The expression is of the following form ...
6 votes
1 answer
301 views
Optimization with vector constraint function
I would like to minimize a vector function subject to a vector constraint function. Unlike previous posts (Constrained FindMaximum with array valued function and Constrained optimization with a ...
2 votes
1 answer
96 views
find basis for list of vectors satisfying constraint
Given a list of integer-valued vectors $w \subset \mathbb{Z}^5$ ...
2 votes
1 answer
138 views
Numerically minimizing functional given integral constraint
Not sure whether Maths or MMA SE is more appropriate since I have problems even tackling the problem. Consider the following question: (Let's say I work in 3D, a box or something) Minimize a ...
1 vote
0 answers
120 views
NDSolve: Prescribe a linear constraint on a boundary
This is a representative volume element problem on a unit square. I would like to apply the following linear constraint on a boundary: $u(x,1)=u(x,0)+0.3$ How can do this? There seems to be no way. ...
3 votes
1 answer
202 views
Maximize finds solution outside the constraint
I'm trying to maximize a (quite simple) polynomial inside a sphere. The command is simply: ...
1 vote
0 answers
102 views
TimeConstrained and optimization
I am trying to understand why wrapping TimeConstrained[] around optimization, e.g., MinValue[] can sometimes fail. To reproduce ...
2 votes
2 answers
226 views
Mathematica LinearSolve with additional constraints
I want to solve a linear Matrix equation over GF(2). I am currently using Mathematica's LinearSolve[A,B, Modulus->2] function to solve for X in the equation AX = ...
4 votes
1 answer
272 views
Using mathematica to find the equation of curves, by providing images, providing constraints, or both
By "collaborate", I mean to give some instructions or constraints. Consider the following curves: (as examples, only to illustrate my question in a better way): Curve (I): Assume it is f ...
0 votes
1 answer
132 views
Maximization subject to constraints
I want to solve for parameters and not specific values. ...
4 votes
0 answers
103 views
Find perspective projection matrix under constraints
I have taken a photo (with a rectilinear lens) of a house's outside wall that sits on top a roof, from which I wish to take measurements from. However, to do so I would need to correct the perspective ...
0 votes
1 answer
144 views
Solving for Lagrangian multipliers with additional assumptions
I want to solve the Lagrangian with two multipliers $\lambda_1$ and $\lambda_2$, but with an additional convexity assumption. However, when I solve it case by case under such an assumption, I get 0 as ...
4 votes
1 answer
412 views
Two-directional vibration of Euler–Bernoulli beam with Lagrange multiplier
Background I'm going to investigate a beam-pendulum coupling system (in this question I won't consider the pendulum though), that is, a spherical pendulum is suspended on the tip of a cantilever beam. ...
1 vote
1 answer
118 views
Find an instance satisfying equation
I have the following equation with two variables xi and nu. ...