OK., thank you. But the documentation states: “module solves the two-variable linear programming problem using the simplex metod”. Does that mean it will work only for two-dimensional problems? The comments suggest otherwise. Besides – is simplex(c,A,s,b) documented anywhere?
Hi All! Would anybody advise me on how to use the simplex solver from thesimplex module? The documentation only mentions it exists, and the comments in the module itself are ambiguous.
Why don’t you just double-click on the xasy icon – you should have it on your desktop. If you really need to run it from the command line, try this: "C:\Program Files (x86)\Asymptote\GUI\xasy.py" --asypath "C:\Program Files (x86)\Asymptote\asy.exe"
Why don’t you just double-click on the xasy icon – you should have it on your desktop. If you really need to run it from the command line, try this: "C:\Program Files (x86)\Asymptote\GUI\xasy.py" --asypath "C:\Program Files (x86)\Asymptote\asy.exe"
Asy v. 2.70 on Windows 10, 64-bit. When running this code: file fout = output("test.txt", true); write(fout,"List: ",1,2,3); close(fout); I receive the following error message: "C:\Program Files (x86)\Asymptote\asy" -f pdf pr.asy Process started (PID=15732) >>> 1 [asy] asy 15732 cygwin_exception::open_stackdumpfile: Dumping stack trace to asy.exe.stackdump <<< Process finished (PID=15732). (Exit code 35584) What's wrong?
To all who also take pains to figure out how system() in Asymptote works: on Windows any command line sent to the system must always be preceded by cmd /c . M.
Forgot to write I am running Asymptote 2.44. OK, John, indeed dir works here, too, with your correction. But note, please, that the manual reads: if the setting safe is false, call the arbitrary system command s To most people dir is a legitimate system command on its own. Now, why does this script not work in the batch mode: write("\"C:\Program Files\MiKTeX 2.9\miktex\bin\x64\asy\" -h"); system("\"C:\Program Files\MiKTeX 2.9\miktex\bin\x64\asy\" -h"); ? M.
I am trying to run system() command in console mode (with administrator privileges) with –nosafeswitch activated on a Windows 10 machine. The code is just this single line: system("dir"); Asy.exe hangs - the caret moves to the next line and blinks; other than that nothing happens. Unfortunately there is no direct way to upload a sreen dump here. Much the same happens in the batch mode. There is a non-conclusive thread on the net from two years ago that addressed this same problem: https://tex.stackexchange.com/questions/308922/how-to-use-asymptote-system-command?rq=1...
John, cmd.exe is here. The latter I think applies.
As of version 2.44 typing help in the command window produces this message: Welcome to Asymptote version 2.44 (to view the manual, type help) > help > Cannot execute cmd Please put in a file config.asy: import settings; pdfviewer="LOCATION"; where LOCATION specifies the location of your PDF viewer. Alternatively, set the environment variable ASYMPTOTE_PDFVIEWER or use the command line option -pdfviewer="LOCATION". For further details, see http://asymptote.sourceforge.net/doc/Configuring.html http://asymptote.sourceforge.net/doc/Search-paths.html...
The same happened on my Widows 10 machine. BTW, where are the 64-bit binaries for Windows avaialble?
John, the patch works – at least for the example above. I'll see later if it works...
John, the patch works – at least for the example above. I'll see later if it works...
On my system only upper part of your picture is visible. Pls try this code from the...
On my system only upper part of your picture is visible. Pls try this code from the...
Hi gustaf There is high probability you have no mistake in your code. There is some...
I have just checked I have dvips(k) 5.996, which seems to be a new compilation. Others...
Label() command shifts the drawing downwards
Thanx ollydbg. Both methods require resorting to external code, I mean, outside asymptote....
When I run this code: draw(scale(50)*unitsquare); I obtain a square with sides 50...
Thank you very much.
Why, having run the code: triple[][] a; a[0][0] = (1,2,3); write(a); am I getting...
@ollydbg ...save the raster image as a 2D matrix... I would appreciate if you could...
@ollydbg ...save the raster image as a 2D matrix... I would appreciate if you could...
@ollydbg save the raster image as a 2D matrix I would appreciate if you could labor...
Is there any way I can use an external image in one of the raster formats, e.g.,...
Thank you very much. In the hindsight, I should have thought about right away.
Execution of this code: (real) l="1234.5678"; write(l); results in the message: cannot...
Execution of this code: string s="1234.5678"; (real) l="1234.5678"; write(l); results...
Is there a function that converts a string of digits, possibly separated by a dot,...
Charles, thank you very much for the answer. I've played around a bit with various...
Charles, thank you very much for the answer. I've played around a bit with various...
Charles, thank you very much for the answer. I've played around a bit with various...
Charles, thank you very much for the answer. I've played around a bit with various...
I have to plot experimental results. The data will be stored in a single external...
OK, I have figured out what happened. About a year ago I installed MiKTeX 64-bit...
Cannot uninstall MiKTeX 2.9