BuddhiniAnge / Cayley-graphs

0 stars 0 forks source link

GAP binder template #2

Open olexandr-konovalov opened 3 years ago

olexandr-konovalov commented 3 years ago

Hello @BuddhiniAnge - good to see that you're making use of the GAP Docker containers here!

Perhaps you may be interested in an extended version of the example repository for using GAP on Binder. Its totally fine to start from what you have now, and eventually add more features from https://github.com/rse-standrewscs/gap-binder-template.

Several quick remarks after a quick glance:

BuddhiniAnge commented 3 years ago

Hi, Dear Prof. Alexander Konovalov,

Thank you very very much. How are you? Hope you are keeping fine. Also hope that covid spreading is reduced in your region too. In our country, they have started giving a vaccine, but still it's not reduced very much.

I do have the questions mentioned by the remarks too. I used Jupyter notebooks, but by taking new ->GAP 4, after the repository was loaded, so it wasn't saved.

I saw, you have seen my question in math.stack exchange too. 😊

There, yes I'm willing to check for the best way of doing it, not necessarily through JupyterViz. And yes, I'm asking to mark some edges using different colours, by the second question.

In the question 01,

I was able to run it in the Jupyter notebook, if I type the command "PlotGraph()" in the notebook itself.

But it was not successful if I include the command to a .gap program file, then read it in the Jupyter notebook and give input to it. The graph doesn't generate.

I have attached herewith a test (in Doc1) I did in the Jupyter notebook. There the output was meant to be the Cayley graph, as you will see the list of vertices was generated as output.

After that I changed the program (named "PrintHamCycle.gap"), to form an adjacency matrix of the Cayley graph and added "PlotGraph" command but then it didn't generate the output of graph. I want to be able to run it by having the command in .gap file.

In Doc2, you'll be able to see an error I get when Reading the PrintHamCycle.gap in the notebook.

Looking forward for your kind advises regarding these questions, Prof. Alexander Konovalov.

The program files related to PrintHamCycle.gap are, AdjacencyMatrixCayleyGraph.gap and Undirected generating sets.gap in my repository.

With best regards, Buddhini.

On Fri, Apr 2, 2021, 3:01 AM Alexander Konovalov @.***> wrote:

Hello @BuddhiniAnge https://github.com/BuddhiniAnge - good to see that you're making use of the GAP Docker containers here!

Perhaps you may be interested in an extended version of the example repository for using GAP on Binder. Its totally fine to start from what you have now, and eventually add more features from https://github.com/rse-standrewscs/gap-binder-template.

Several quick remarks after a quick glance:

  • something went wrong with markdown in the README
  • it does not have any Jupyter notebooks - you may want to have at least one which loads necessary code from .gap files.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BuddhiniAnge/Cayley-graphs/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKAUUGJ5XY7DLVEL557RVN3TGTQ2BANCNFSM42H2QW4A .

olexandr-konovalov commented 3 years ago

Thanks @BuddhiniAnge - without much details for a comment on a public issue, I am fine too. Hope vaccinations will pick up pace in your country soon, and it will help to reduce infection rates.

It's hard to help without seeing the actual notebook - if you run it on binder, and can't run locally, you can download it and the add to the repository. That will help you since you will not have to recreate it next time, and others, including me, will be able to try to run it and see what happens. Could you do that please to demonstrate what the problem is?