Maximizing Sum of Weights w/ N Entities & M Constraints

  • Thread starter Thread starter kmrstats
  • Start date Start date
  • Tags Tags
    Optimization
kmrstats
Messages
2
Reaction score
0
Hi. I have a problem I am hoping you all can shed some light on.

I have N entities, O, each described by N values - a weight W and N-1 similarity coefficients to the other N-1 entities. I guess we can represent Oi as (Wi, Sij, j=(1,2,...,N, i!=j)(?).

Given an integer M and M < N I need to maximize the following function:
Sumi(Wi/Sumj(Sij, j=(1,2,...,N), i!=j))
where i and j in the sums are constrained to the unique combinations of the integers 1 to N of size M.
As an example let N=4, M=3 there are then 4 unique combinations of the numbers 1,2,3,4 of size 3: (1,2,3), (1,2,4), (1,3,4) and (2,3,4). The values for the function are therefore:
W1/(S1,2+S1,3)+W2/(S2,1+S2,3)+W3/(S3,1+S3,2)
W1/(S1,2+S1,4)+W2/(S2,1+S2,4)+W4/(S4,1+S4,2)
W1/(S1,3+S1,4)+W3/(S3,1+S3,4)+W4/(S4,1+S4,3)
W2/(S2,3+S2,4)+W3/(S3,2+S3,4)+W4/(S4,2+S4,3).

For small N and M I can enumerate the combinations and calculate the maximum sum but my problem has N~50 and M~5.

Any suggestions or thoughts of an akgorithm to calulate the max? I hope I have made it clear.

Thanks in advance.
 
Mathematics news on Phys.org
You should consider to write a small program.
 
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...

Similar threads

Replies
1
Views
5K
Back
Top