Search found 11 matches

Go to advanced search

by paulcheung
28 Apr 2022, 18:38
Forum: Helpdesk
Topic: Load file from command line, elaborate, print output
Replies: 13
Views: 3758

Re: Load file from command line, elaborate, print output

You foresees both of my problems and you fixed it immediately! Thank you so much! I was like, why my txt looks so weird. The code you provide works like magic!! (I have no idea what those die , can't create file, / $!\n, mean..... This is something I would have never been able to figure out myself) ...
by paulcheung
28 Apr 2022, 17:37
Forum: Helpdesk
Topic: Load file from command line, elaborate, print output
Replies: 13
Views: 3758

Re: Load file from command line, elaborate, print output

I found it!!!!!!!!!!!!!!

\\wsl$\Ubuntu

I found this code from the following website

https://superuser.com/questions/1185033 ... -for-linux

This is what I need.......Thank GOOOOOOOOOOOOOOOOOOD!!!!!!!!!!!!!!

Also thank you for your patience.
by paulcheung
28 Apr 2022, 17:24
Forum: Helpdesk
Topic: Load file from command line, elaborate, print output
Replies: 13
Views: 3758

!!

Where can I see this txt file? I have no idea what my current working directory is. Your current working directory is where you started your polymake session, until you changed it explicitly using a "chdir" command. You must have entered the "polymake" command in a Linux shell. The current working ...
by paulcheung
28 Apr 2022, 15:31
Forum: Helpdesk
Topic: Load file from command line, elaborate, print output
Replies: 13
Views: 3758

Re: Load file from command line, elaborate, print output

I tried to follow your instructions, but nothing came up..

My screenshot is attached. Thank you in advance!!
by paulcheung
28 Apr 2022, 15:10
Forum: Helpdesk
Topic: Load file from command line, elaborate, print output
Replies: 13
Views: 3758

Re: Load file from command line, elaborate, print output

Thank you so much for the prompt reply!!!

I am very new to this terminal/command language. I would like to ask a very stupid question.

After I typed,

save_data($p->FACETS, "mypoly.txt");

Where can I see this txt file? I have no idea what my current working directory is..... Thank you!!!
by paulcheung
28 Apr 2022, 14:43
Forum: Helpdesk
Topic: Load file from command line, elaborate, print output
Replies: 13
Views: 3758

Re: Load file from command line, elaborate, print output

Can I ask a follow-up simple question?

When you save the files (say .txt or .poly), where can we find it from file directory? Thanks!
by paulcheung
09 Apr 2022, 04:32
Forum: General Discussion
Topic: My polymake is running for more than 12hours
Replies: 1
Views: 202

My polymake is running for more than 12hours

Hi, I have a problem. I run my code. However, it has been 12 hours and there is not any result. I was trying to convert a polytope defined by inequalities into vertices. There are over 200 inequalities, which has 70 dimensions. However, most are 0 and 1. Is it normal that it took so long? I check my...
by paulcheung
08 Oct 2020, 16:37
Forum: Helpdesk
Topic: Simple question regarding converting polytope to facets
Replies: 3
Views: 4340

Re: Simple question regarding converting polytope to facets

Thank you for all the replies! I got it now.
by paulcheung
08 Oct 2020, 01:33
Forum: Installing polymake
Topic: "E: Unable to locate package polymake"
Replies: 2
Views: 4463

Re: "E: Unable to locate package polymake"

Hi, maybe you need to enable the 'universe' repository first, please see here: https://askubuntu.com/questions/148638/how-do-i-enable-the-universe-repository And then run: sudo apt update sudo apt install polymake If that still doesn't work, please post some details on the ubuntu version that you a...
by paulcheung
06 Oct 2020, 18:52
Forum: Installing polymake
Topic: "E: Unable to locate package polymake"
Replies: 2
Views: 4463

"E: Unable to locate package polymake"

Hi all, I have trouble installing polymake in Ubuntu. I have little knowledge about it (I just downloaded Ubuntu today for polymake) and I appreciate it if someone can help me solve it. As I type in the command line in Ubuntu: sudo apt-get install polymake The result prints Reading package lists... ...

Go to advanced search

cron