Optimizing 2D Area with Objects - CS Graduate Student Seeking Advice

  • Thread starter Thread starter nerdjock
  • Start date Start date
  • Tags Tags
    Area Optimization
nerdjock
Messages
3
Reaction score
0
Hello,

I am a CS graduate student, and I have a curious optimization problem which i need to solve, and have no idea where I should be looking for techniques for solving it. I have searched much material on optimization techniques, but still am not sure which subject this falls under. I would really appreciate if someone could even point me in the right direction as to what material I should be looking at to solve this.

Allow me to explain the problem. I have a regular 2D grid of cells. Each of these cells can contain "objects" of interest. The objects are not necessarily distributed evenly throughout the grid, and often are not. I need to partition the grid into P partitions, such that each partition will contain roughly the same number of "objects". Each partition can contain a different number of grid cells, with the constraint that each partition is made up of a contiguous region of cells (i.e. the paritions cannot be a disjoint collections of grid cells).

Forgive me if I am posting in the wrong forum, as I was not sure where to post this at all! :P

Any help is much appreciated.
Thanks!
 
Mathematics news on Phys.org
Do you know the distribution of the objects over the grid, in an expectational sense?
 
Yes, I know the exact location of all of the objects before I start.

Thanks,
Mike
 
If it were me I would start with an algorithm which partitions the grid into two halves, then counts objects in each half and varies the partition until both halve have roughly equal numbers. Then apply recursively with each half grid.

I'm not clear on exactly what it is you want to optimize?
Questions I would ask:
Is there a range in the number of objects allowed in each partition?
Are there constraints on the number of partitions?
Is there a secondary quantity to be optimized, e.g. do you want partition sizes in terms of cell counts to be roughly equal or as equal as possible?
Are there a very large number of either cells or of objects which would affect which approach is computationally quicker?Another approach which comes to mind is to work with an initial network (graph) connecting all the objects (using cell positions as coordinates?) Then trim connections starting from longest to shortest which cross other connections. Also treat multiple objects in a single cell as a single node on the graph. Then the dual of this graph should be close to the partition you are trying to find.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top