15,937,002 members
Home / Discussions / Algorithms

# Algorithms

 Re: Start with a group of size X, divide it into Y groups, Z times, minimize overlap Kenneth Haugland9-Aug-18 22:25 Kenneth Haugland 9-Aug-18 22:25
 Re: Start with a group of size X, divide it into Y groups, Z times, minimize overlap Gerry Schmitz11-Aug-18 9:19 Gerry Schmitz 11-Aug-18 9:19
 Re: Start with a group of size X, divide it into Y groups, Z times, minimize overlap Gerry Schmitz10-Aug-18 7:38 Gerry Schmitz 10-Aug-18 7:38
 Re: Start with a group of size X, divide it into Y groups, Z times, minimize overlap Stefan_Lang27-Aug-18 0:25 Stefan_Lang 27-Aug-18 0:25
 Re: Start with a group of size X, divide it into Y groups, Z times, minimize overlap Patrice T1-Sep-18 16:42 Patrice T 1-Sep-18 16:42
 Simplex Downhill... User 110609793-Aug-18 9:35 User 11060979 3-Aug-18 9:35
 Re: Simplex Downhill... Stefan_Lang5-Aug-18 21:33 Stefan_Lang 5-Aug-18 21:33
 Re: Simplex Downhill... User 110609796-Aug-18 4:47 User 11060979 6-Aug-18 4:47
 Wow! First of all thank you _very very much_ for your time and your great answer. I Need some time to go through all this, especially "Simulated Annealing" which I do not know until now. Quote:But did you mean thisYes exactly, I'm using Amoeba. But meanwhile (it looks like) I recognized, that I'm on the wrong path (not completely sure about it). Basically I Need to solve a more or less easy Thing: t= w * b + A * c where t is a vector (400 items) w is a scalar b is a vector (400 items) A is a 400x4 matrice (4 can be 1...8) c is a vector (4 items, 1...8) t is the target, b is the current Situation (captured by a measurement). The question is: what are the optimal w and c to come from b to t while w should not differ too much from 1 (1-w as small as possible and w <= 1) and c should be as small as possible and all items need to be >= 0. In other words: How much I Need to throw away from b and what I Need to add with c to bring b as good as possible to t. At the Moment "as good as possible" means best curve fit, but Needs later to be Extended by a completely non linear function (spectroscopy analysis), that's why the simplex approach. All this sounds so easy, but the Problem is: Sometimes (when the math model fits the physics well), b is a linear combination of A and that is a Problem, that the simplex method usually Ends in a w=0... Ok, using simplex here is most probably the wrong approach. Meanwhile I calculated this with "Singular-value decomposition" of A.The results are great, but I'm afraid I choose too much nice test data. With SVD I calculate a scan for different w's: t-w*b= A*c. At the Moment I don't trust the results because I always get c vector with positive items. This would be great, because this is the what I need, but for me it Looks more like a mistake from my side. Why I should be that lucky to get always positive c values... Sorry to text you that much. Bruno It does not solve my Problem, but it answers my questionmodified 19-Jan-21 21:04pm.
 Re: Simplex Downhill... Stefan_Lang7-Aug-18 2:21 Stefan_Lang 7-Aug-18 2:21
 Re: Simplex Downhill... User 110609797-Aug-18 21:23 User 11060979 7-Aug-18 21:23
 Re: Simplex Downhill... Stefan_Lang7-Aug-18 22:05 Stefan_Lang 7-Aug-18 22:05
 Re: Simplex Downhill... User 110609798-Aug-18 1:41 User 11060979 8-Aug-18 1:41
 Re: Simplex Downhill... Stefan_Lang8-Aug-18 2:11 Stefan_Lang 8-Aug-18 2:11
 Re: Simplex Downhill... User 110609798-Aug-18 10:18 User 11060979 8-Aug-18 10:18
 help me~ for use..... #define macro ## #@ # dsyoon ds29-Jul-18 17:07 dsyoon ds 29-Jul-18 17:07
 Re: help me~ for use..... #define macro ## #@ # Daniel Pfeffer29-Jul-18 20:42 Daniel Pfeffer 29-Jul-18 20:42
 Re: help me~ for use..... #define macro ## #@ # Richard MacCutchan29-Jul-18 21:26 Richard MacCutchan 29-Jul-18 21:26
 Re: help me~ for use..... #define macro ## #@ # Chris Losinger30-Jul-18 8:32 Chris Losinger 30-Jul-18 8:32
 Read text from a file and realloc when needed claymorehack6-Jul-18 4:02 claymorehack 6-Jul-18 4:02
 Re: Read text from a file and realloc when needed Richard MacCutchan6-Jul-18 4:08 Richard MacCutchan 6-Jul-18 4:08
 Re: Read text from a file and realloc when needed claymorehack7-Jul-18 22:46 claymorehack 7-Jul-18 22:46
 Re: Read text from a file and realloc when needed Richard MacCutchan8-Jul-18 2:49 Richard MacCutchan 8-Jul-18 2:49
 Lookup table with angles cristiapi6-Jul-18 2:30 cristiapi 6-Jul-18 2:30
 Re: Lookup table with angles Stefan_Lang5-Aug-18 23:09 Stefan_Lang 5-Aug-18 23:09
 Big-O Notation Manish16927-Jun-18 18:31 Manish169 27-Jun-18 18:31
 Last Visit: 31-Dec-99 18:00     Last Update: 14-Jul-24 19:42 Refresh ᐊ Prev1...20212223242526272829 Next ᐅ