|
Hi everyone,
Could anyone kindly assist with some codes (preferably C#, Java) for the Travelling Salesman Problem that uses any of the following Heuristics
1. Tabu Search
2. Hill Climbing
3. GRASP (Greedy Randomized Adaptive Search Procedure)
4. Simulated Annealing
I need this to just text some problems.
Thanks
laremtj
Jesus Loves You, Give your Heart to Him Today
|
|
|
|
|
You do know that we don't do homework for you don't you? If you need help on these problems, then I suggest you use google to find out more details.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Pete O'Hanlon wrote: we don't do homework
And I just barked at him for cross posting, too
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
If you have specific questions about a specific problem you have encountered trying to solve these problems, ask and people will try to help. No one here will simply provide you with a solution.
|
|
|
|
|
see here:[^]
--
If you view money as inherently evil, I view it as my duty to assist in making you more virtuous.
|
|
|
|
|
That's a great FAQ! Perhaps Pete should update his Forum Guidelines post with some of this info.
|
|
|
|
|
Scott Dorman wrote: Perhaps Pete should update his Forum Guidelines post with some of this info.
It looks like it's time for Forum Guidelines version 2.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Don't cross post (most the same message in multiple forums) in the forums. It is rude, and I had to read this twice now
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
Can anyone help me out.
I have a CSV File and i stored it in database table using SqlBulk copy. In the database table i have following fields like Id(PK, Identity), Venue, Cost, Event ant Quantity. This works fine when the CSV file fields come in this same order, in some cases CSV Files have more field and their order is not like the same as table fields so when i try to store i am getting error. Can anyone please help me out how to use mapping concept so when the CSV file order changes or extra fields come, i can take only required feilds. Thanks in Advance.
Jebin
|
|
|
|
|
By "in some cases CSV Files have more field and their order is not like the same as table fields" do you mean that the order changes, or simply that more fields are included on the end?
In the case of records having more fields, you could use File Helpers:
http://www.codeproject.com/csharp/filehelpers.asp[^]
and simply program against a full (complete) recordset.
If, on the other hand, you are suggesting that you recieve multiple formats of csv files that do the same thing, you should a) track down and harangue the person who thought this was a good idea b) See if you can rationalise the formats and make everybody use the same format c) if b isn't possible, see how many formats you are dealing with and if each csv file tells you what format it's in in someway d) use file helpers to build multiple import routines to cater for each csv type.
Me: Can you see the "up" arrow?
User:Errr...ummm....no.
Me: Can you see an arrow that points upwards?
User: Oh yes, I see it now!
-Excerpt from a support call taken by me, 08/31/2007
|
|
|
|
|
Hi, I want to make my windows application like master page. Suppose that when i choose menus then the contents will be shown on the same window.Thanks for advance help.
|
|
|
|
|
I think you have a misunderstanding of what the master page concept is. It does not apply to Windows forms.
only two letters away from being an asset
|
|
|
|
|
Shahriat Hossain wrote: Hi, I want to make my windows application like master page. Suppose that when i choose menus then the contents will be shown on the same window.Thanks for advance help.
Hi,
Try rephrasing your question. You probably know what you are trying to accomplish, but it is unclear to me (and probably others too) what you are asking.
It isn't enough to do well in life.
One must do good when and where one can.
Otherwise, what's the point?
|
|
|
|
|
You can simulate the MasterPages effect by either using Panels and showing/hiding them as appropriate, or by creating a common form as a base class (complete with menus) and then inheriting your new forms from this.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
A tab control might work for what you are trying to do if I understand correctly.
|
|
|
|
|
are you talking about MDI
It is Good to be Important but!
it is more Important to be Good
|
|
|
|
|
I ran gacutil /i on my dll.
Received good confirm message.
Double check it at C:\WINNT\assembly
But when I try to reference it through VS2005,
I doesn't show up.
I must be doing something wrong any ideas.
Info:
I have a couple of different projects in my solution.
My library is one of the projects but is not set to build.
The project referencing the library is also in the solution.
-- modified at 16:07 Monday 24th September, 2007
Never mind got it.....
God Bless,
Jason
I am not perfect but I try to be better than those before me.
So those who come after me will be better than I am.
|
|
|
|
|
If I use gacutil /l - the library doesn't show up.
God Bless,
Jason
I am not perfect but I try to be better than those before me.
So those who come after me will be better than I am.
|
|
|
|
|
Hi,
I am currently making a program which is hopefully going to have the ability to me multi-lingual. I need to find a way of auto-sizing the controls like labels, groupboxes etc to the size needed to contain the text retrieved from each different language resource file.
Currently programming in C# 2005.
Any help appreciated.
Andrew.
|
|
|
|
|
btnYourButton.AutoSize = true;<br />
btnYourButton.AutoSizeMode = AutoSizeMode.GrowAndShrink;
?
I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")
|
|
|
|
|
Hi,
Thanks for that information. One last thing, will the form re-size and the other controls move to accomodate the grow and shrink of a particular control?
Thanks, Andrew.
|
|
|
|
|
Hi guys
Is there any way to measure the download and upload capabilities beforehand when sending and receiving files via TCP transmission based on the file size of the file being sent or received?
Thanks
BS
|
|
|
|
|
I think the only way to get an accurage measurement is to actually send something over the pipes.
You could factor in things like network card capabilities, or the type of connection (modem? LAN? VPN? etc.). You could also remember previous transmission speeds and use that for a guesstimate.
There are also web services available to test your connection speed. Of course, these services simply send something across the pipes to gather the speed information.
|
|
|
|
|
my report is about selecting something with a date margin... meaning between 2 dates... i just to inert these two dates into my report dynamicaly... can someone(well everyone) help? thx ahead
M.M
|
|
|
|
|
I don't think you've provided enough information to receive a meaningful answer.
What exactly are you having trouble with? Do you need help with getting this date margin? How to store it? How it insert it into your report?
|
|
|
|