Anthrazit

935 Reputation

13 Badges

7 years, 36 days

MaplePrimes Activity


These are replies submitted by Anthrazit

@acer 

I'd like to add that to a wishlist for future development - add a chapter to the Maple Programming Guide.

How to setup and use a version control system.

@acer 

Seems like a very interesting approach, but I would need a litte bit more information for implementation.

Does that mean that you are not using the Maple Code Editor either?

Could you provide a simple example on how you do that?

@acer 

The reason for this is that I have a library module with very many procedures, and I want to split it to different files, so that it easier to work with them. Thus I can open them in different windows and work with them in parallel.

Do I understand that correctly, that

  • each procedure that is defined needs to be unprotected before and after the definition?
  • they need to be listed under ModuleLoad?
  • that z5:-times1 := eval(:-times1) locks the definition and protects it to any future changes
    Does that mean that even if I change the code and rerun the main program, it will not be changed? Or does the unprotect command allow the redefinition?

@Scot Gould 

Yes, I have seen that one.

It was very useful, one can be very glad when the best share their skills.

Would a similar workflow be possible to Maple also?

@acer 

Probably you guys know what the meaning of "...as if it had been entered or read from a file" is, but for other users (like me) the meaning of this sentence is not obvious.

I still stand by what I wrote, that the help file should be more specific here.

@acer 

If that is the case (which I am sure it is), the help file should be updated.

@Carl Love 

I have no real experience with ChatGPT, but what I heard is that it just makes things up.

In my case I replied that this function isn't exisiting, ChatGPT excused that it was wrong, and came up with 2 alternatives which also didn't work.

But everything was very convincing :-)

First of all I have to say that I have never worked with Graphs, so please bear that in mind when answering my questions.

In the BavarianCities example of the GraphTheory:-TravelingSalesman explanation, the CompleteGraph function is used to generate all possible edges between the cities.

Might be that you just didn't use it in your example, but as far as I can see some possible edges like 1 - 3 and 2 - 5 are missing.

What I would like to have is a solution that either just starts in 1 and gives the shortest route to all other points, or starts in 1 and ends in 5, with the shortes route between those start- and endpoints - including all points and not using an edge two times.

@sand15 

Thanks for the tip, I do however see one issue.

The Travelling Salesman Problem apparently requires to go back to the starting point. This is not in my case, I do not want to get back to the starting point, but just want to connect them in the shortest possible way.

The background for my specific problem is that I need to calculate the capacity of a timber connection with bolts, where the bolts are in random order. For that I need the minimum net area of the section. The starting point will be a point on the edge nearest to the outermost bolt on the one side. The end point will be a point on the opposite side, nearest to the outermost bolt on the other side.

The GraphTheory:-TravelingSalesman allows to define a startvertex, which is helpful. But as far as I can see it will also end in that point.

Regarding ChatGPT, I've just used it as I don't have any clue about how to tackle the problem :-)

@acer 

Perfect, thanks.

@C_R 

It actually seems to work with Ctrl-X - Ctrl-V.

@dharr 

Sorry, the formatting of the question was not good. Every first line of the code was a definition, every other was the result.

But here's a Maple sheet that shows the problem.

TableDefinition.mw

@Rouben Rostamian  

Thats hardly the case here, the path is on our (new) server (via VPN).

(If the error is referring to the file location of the file, which I am quite certain about).

Don't know if that helps.

I've just got an error message poping up on my screen. This didn't come during startup or any active process from my side (like saving), but after a period of time.

I guess this might have something to do with an autosave, but I am not sure.

Translation is "System doesn't find specified path".

2 3 4 5 6 7 8 Last Page 4 of 21