The Stack Overflow podcast is back! Listen to an interview with our new CEO.

All Questions

15 questions
Filter by
Sorted by
Tagged with
151 views

How to find alignments of interlocking shapes?

I'm searching for the ways to align interlocking shapes, that is, finding the locations and rotations that maximize the arc length at which they touch. For simplicity, I'm assuming 'shapes' are one ...
207 views

Easy FindMaximum returns a wrong answer

FindMaximum in region is a new function in mma10,but when I tried the following example: ...
1k views

Can't find maximum of a function on a region

for h=0.2 I'm trying to find the maximum value of (-h^2/3)*(-1/x^2) subject to ...
502 views

NMinimize in one-dimensional Interval

An Interval should be a one-dimensional region, so a region. I tried to minimize a function over an interval, e.g.: ...
142 views

Why does EvaluationMonitor in FindMaximum only work for some regions?

This has come about after trying to understand what was going on with this question about FindMaximum and regions. My first thought in that scenario was to set-up <...
111 views

Maximising area of intersection of regions

I'm interested in maximising the area of intersection between two or more geometric regions (for now, in 2D). For instance, I can calculate the offset between the centres of two annuli with given ...
102 views

Finding the shortest distance of two points and an area

So I have a region defined by something like MeshRegion[{{0, 0}, {1, 1}, {2, 1/2}, {2, -1/2}}, {Line[{1, 2}], Line[{2, 3}], Line[{3, 4}], Line[{4, 1}]}], and two ...
115 views

Minimize with Interval restriction [closed]

If for instance I have a problem of this sort: ...
285 views

Making a plot to visualize an optimization problem [duplicate]

The feasible region is the rectangle defined by 40,000 <= x <= 80,000 30,000 <= y <= 50,000 intersected with the half-plane x + y <= 110,000. ...
119 views

Region and Infinite Line Intersection does not yield correct results with Maximize

I have a list of points pixelvaluepos that I can use to convert to a BoundaryMeshRegion. I also happen to know the centroid <...
69 views