Questions tagged [constraint]
The constraint tag has no usage guidance.
164
questions
1
vote
0
answers
42
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
92
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
178
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
86
views
Maximization subject to constraints
I want to solve for parameters and not specific values.
...
4
votes
0
answers
54
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
79
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 ...
3
votes
1
answer
227
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
69
views
Find an instance satisfying equation
I have the following equation with two variables xi and nu.
...
0
votes
0
answers
40
views
NonlinearModelFit with NMinimize Submethods and Selective or Mixed-Head Constraints
Problem: I believe I've found a two related bugs associated with using NonlinearModelFit while making a Method call to NMinimize's submethods, e.g. "RandomSearch" and "...
0
votes
0
answers
31
views
Adding constrains in a SYM function "Classicalsymmetries"
Please help me add constrains on my code. The function runs perfectly fine without the constrains but it gives me 7 cases and I only need one where all the constrains I have hold.
This is the code ...
0
votes
0
answers
52
views
Identify a condition among variables that satisfy an inequality
I have a symbolic function that produces the output
a = (1 - e - mu/n) Log[(1 - e - mu/n)/(1 - mu/n)] + (e + mu/n) Log[((e + mu/n) n)/mu]
If I substitute ...
0
votes
0
answers
53
views
Problem maximizing a function
I have a problem maximizing the following function:
...
1
vote
1
answer
68
views
Error with NMaximize: "The following constraints are not valid" which disappears if the objective is changed
I am trying to optimize under constraint using NMaximize, however the constraints are flagged as invalid. I could not see the problem with the constraints so I ...
1
vote
1
answer
119
views
Finding the maximum of a non-linear function symbolically
I have the function $$f(x,\alpha) = x^\alpha - \frac{x^2}{2}$$ where $x>0$ is the main variable of interest and $\alpha \in (0,1)$ is the parameter of curvature:
...
0
votes
2
answers
56
views
Constraints in a set of equations
I am currently working on a system of equations that is subject to a determinant constraint. Specifically, I have a matrix $B$ with $\det(B) = 0$, and I aim to construct a linear combination of its ...