If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
![]() |
|
|
#76 |
|
Junior Member
Join Date: Sep 2012
Posts: 54
|
@Alex: so speaking of knobs. The accuracy of my solver is at around 8%. What should be the accuracy for a solver that is 4x slower to make the switch worth while?
(This is not a trick question, this is a real question I am facing.) Thanks! |
|
|
|
|
|
#77 |
|
Junior Member
Join Date: Aug 2012
Posts: 67
|
|
|
|
|
|
|
#78 | ||
|
Junior Member
Join Date: Aug 2012
Posts: 67
|
Quote:
Quote:
But in all seriousness, I'd like to win, of course, and running my solver for few minutes will arrive at a rather acceptable solution (clearly less than 1.3 times above optimum), but not as good as Bernd's. Though I haven't run this more than a few minutes. Last edited by Naurava kulkuri; 23-Oct-2012 at 21:50. |
||
|
|
|
|
|
#79 |
|
Heteroscedasticitate
Join Date: Mar 2005
Posts: 2,354
|
Your accuracy seems fine to my eye, in context (well excluding the ATSP case, of course), given that Veikko is pretty much in the same neighbourhood (excluding the larger cases where it would appear that he'll need to give himself some more time). What I'd do (and note that I'm not on the refereeing board or anything, so just take it as 2c), is focus on gaining some more speed in the large instances, whilst holding my accuracy constant(ish). Again, that's just me.
__________________
Donald Knuth: Science is what we understand well enough to explain to a computer. Art is everything else we do. |
|
|
|
|
|
#80 |
|
Junior Member
Join Date: Aug 2012
Posts: 67
|
I submitted a new version, with the performance parameters harcoded now. Usage and parameters as before.
This was mostly to get the new version going before further tweaking. I just hope it won't explode. Now off to sleep... |
|
|
|
|
|
#81 |
|
Junior Member
Join Date: Sep 2012
Posts: 54
|
@Alex: thanks for your guidance in regards to faster vs closer.
Have you posted new rankings yet? I am using this URL: http://www.beyond3d.com/B3D_AMP_CONT...c_rankings.pdf Is that the right one? Also, would you mind putting a time stamp on the page so I know I have the latest? Thanks! - Bernd |
|
|
|
|
|
#82 |
|
Junior Member
Join Date: Sep 2012
Posts: 54
|
@Veikko: thanks for offering your help! I have a day job, so I can only work in the evenings on ATSP. But I think I am close.
We'll see. Cheers, - Bernd |
|
|
|
|
|
#83 |
|
Junior Member
Join Date: Aug 2012
Posts: 67
|
|
|
|
|
|
|
#84 |
|
Heteroscedasticitate
Join Date: Mar 2005
Posts: 2,354
|
Page and rankings updated. Rankings are time-stamped, as per Bernd's very good suggestion.
__________________
Donald Knuth: Science is what we understand well enough to explain to a computer. Art is everything else we do. |
|
|
|
|
|
#85 |
|
Junior Member
Join Date: Sep 2012
Posts: 54
|
@Alex: thanks for updating the rankings!
So, who is leading the TSP category, now? |
|
|
|
|
|
#86 |
|
Junior Member
Join Date: Aug 2012
Posts: 67
|
Hmm, indeed, I wonder the same as Bernd.
I introduced a much more dynamic interruption mechanism to the solver and with current settings on my computer (heh, the works on my computer argument) I get slightly worse tour quality as the previous ad-hocish submission, though clearly faster. Well, that's somewhat a degree of parameter setting. I wonder what's the problem for my solver on one of the ATSP instances. Let's see if I can deduce something from the size... Last edited by Naurava kulkuri; 24-Oct-2012 at 22:14. |
|
|
|
|
|
#87 | |
|
Heteroscedasticitate
Join Date: Mar 2005
Posts: 2,354
|
Quote:
__________________
Donald Knuth: Science is what we understand well enough to explain to a computer. Art is everything else we do. |
|
|
|
|
|
|
#88 |
|
Junior Member
Join Date: Sep 2012
Posts: 54
|
@Alex: admit it, you can't really tell
@Veikko: Hey, I have a proposal for you. Shall we normalize our results to, say 360 secs? In other words I can set the maximum running time at 360 secs. That would allow is to compare apples with oranges. Last edited by Bernd Paradies; 25-Oct-2012 at 05:26. |
|
|
|
|
|
#89 |
|
Junior Member
Join Date: Sep 2012
Posts: 54
|
@Alex: I just submitted a new version of my solver with fixes for ATSP.
I also let the solver time out at 360 secs in order to get results we can compare against Veikko's solver. Also, can I assume that you build Release, x64? Please let me know if you run into any problems. I am looking forward to reading the new rankings! Cheers, - Bernd |
|
|
|
|
|
#90 | |
|
Heteroscedasticitate
Join Date: Mar 2005
Posts: 2,354
|
Quote:
P.S.: it's not difficult to "know", because each of you gets a numerical value attached based on how you do perf-wise and precision-wise, with the numerical value being computed as a weighted average of the partial scores per-each instance. So personally, I would look at the battle as "hmm, my competitive friend gets this sort of precision in this much time, can I get a similar level in less time"? Ultimately, your reference should be the other contestant, since it's his submission that you have to beat. How you go about doing that (match time and give better precision, match precision and give better time etc.) is your call.
__________________
Donald Knuth: Science is what we understand well enough to explain to a computer. Art is everything else we do. |
|
|
|
|
|
|
#91 |
|
Junior Member
Join Date: Sep 2012
Posts: 54
|
@Alex: I think I accidentally zipped the binaries. The mail came back with a "rejected" note.
Either way, I resent the zip file. |
|
|
|
|
|
#92 | ||
|
Junior Member
Join Date: Aug 2012
Posts: 67
|
Quote:
Which also mean, to some extent that neither of us would actually need 360 seconds especially on smaller instances to get within percentage points of the solutions we see, e.g. in your submission. You see 360 seconds on my results because of a rather dumb stopping condition, it's much more dynamic now. Quote:
I still have a few tricks in the sleeve, but it takes at least 13 hours from now for me to get a computer and try crank some code and if I'm lucky/not too tired/etc., I can have something shippable (but it can take another evening too). Currently the tricks are just TODO comments in code, but I think I can pull-off at least one and it should have a (very) beneficial effect very early on in the processing time considering length and especially on the longer tours. Well, at least if we are to believe researchers and I can pull off this particular thing. Last edited by Naurava kulkuri; 25-Oct-2012 at 13:28. Reason: Clarification. |
||
|
|
|
|
|
#93 |
|
Junior Member
Join Date: Sep 2012
Posts: 54
|
Hey Veikko, you can go higher than 360. I'll just try to use what you use as a stopper.
13 hours until you get access to a computer? You must be in the middle of nowhere! I have a few tricks in my tool chest, too. Whit is fun! - Bernd |
|
|
|
|
|
#94 |
|
Heteroscedasticitate
Join Date: Mar 2005
Posts: 2,354
|
Bernd, I think you may need to spend some more time with the code. For the time being, it fails an assert for non-trivial problem sizes (approximately over 130 nodes or so).
__________________
Donald Knuth: Science is what we understand well enough to explain to a computer. Art is everything else we do. |
|
|
|
|
|
#95 | |||
|
Junior Member
Join Date: Aug 2012
Posts: 67
|
Quote:
So, you are matching the speed of my solver with quality, which carries more weight in the finald scoring? Quote:
Quote:
|
|||
|
|
|
|
|
#96 |
|
Junior Member
Join Date: Sep 2012
Posts: 54
|
@Alex: are you seeing those errors for TSP, ATSP, or both?
|
|
|
|
|
|
#97 |
|
Heteroscedasticitate
Join Date: Mar 2005
Posts: 2,354
|
They show up in both cases, and are quite size dependent.
__________________
Donald Knuth: Science is what we understand well enough to explain to a computer. Art is everything else we do. |
|
|
|
|
|
#98 |
|
Junior Member
Join Date: Sep 2012
Posts: 54
|
Hmm, I'll send you another version.
When you say "assert" you mean validation errors? All asserts melt away in release builds. - Bernd |
|
|
|
|
|
#99 | |
|
Heteroscedasticitate
Join Date: Mar 2005
Posts: 2,354
|
Quote:
__________________
Donald Knuth: Science is what we understand well enough to explain to a computer. Art is everything else we do. |
|
|
|
|
|
|
#100 |
|
Junior Member
Join Date: Aug 2012
Posts: 67
|
Hello, folks!
It looks like I managed to improve the quality of my tours and lessen the time needed to have them. This comes with a bit of a caution, since it looks like I broke my ATSP calculation in the process. Furthermore, I created a bit of a mess to the code. If I don't need to go to sleep ( |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|