【问题标题】:What is the cllable name for gams studio in Ubuntu terminal to launch it?在 Ubuntu 终端中启动 gams studio 的名称是什么?
【发布时间】:2020-02-23 10:11:52
【问题描述】:

我知道我的问题很便宜,但我真的需要你的帮助,我感谢所有给我建议的人。我最近通过这个YouTube video 安装了Gams 以进行优化,它成功了。我想使用游戏工作室,但我不能启动它。不幸的是,我是 Ubuntu 的新手,我只知道要运行一个应用程序,我应该在命令行中输入它的名称并按 Enter,但它对我不起作用。当我在终端中运行游戏时,我得到以下信息,表明我的安装是完美的:

(base) amir@amir-ThinkPad-T420:~$ gams
--- Job ? Start 02/23/20 13:03:05 30.2.0 r482c588 LEX-LEG x86 64bit/Linux
*** 
*** GAMS Base Module 30.2.0 r482c588 Released Feb 07, 2020 LEG x86 64bit/Linux    
*** 
*** GAMS Development Corporation
*** 2751 Prosperity Ave, Suite 210
*** Fairfax, VA 22031, USA
*** +1 202-342-0180, +1 202-342-0181 fax
*** support@gams.com, www.gams.com
*** 
*** GAMS Release     : 30.2.0 r482c588 LEX-LEG x86 64bit/Linux
*** Release Date     : Released Feb  7, 2020
*** To use this release, you must have a valid license file for
*** this platform with maintenance expiration date later than
*** Jan 10, 2020
*** System Directory : /opt/gams30.2_linux_x64_64_sfx/
***
*** License          : /opt/gams30.2_linux_x64_64_sfx/gamslice.txt
*** GAMS Demo license for Amir Baghban             G200221|0002CO-GEN
*** Amir Kabir University of Technology, Holy See                    
*** DL00258400 **GAMS Demo license restricted to non-commercial use**
*** amirbaghban87@gmail.com, Amir Baghban                            
***
*** Licensed platform                             : Generic popular platforms
*** The installed license is valid.
*** Evaluation expiration date (GAMS base module) : Feb 15, 2021
*** Note: For solvers, other expiration dates may apply.
*** Run gamslib model licememo for more details.
*** Status: Normal completion
--- Job ? Stop 02/23/20 13:03:05 elapsed 0:00:00.001

现在我想使用 gams studio 进行编码。我在其文档页面中读到 gams studio 是在 gams 安装期间安装的,此外,我的 Ubuntu 18.04 具有 glibc 2.29 以及 FUSE 作为 gams studio 的必要版本。但我无法通过命令行启动它。

【问题讨论】:

  • $ gams studio 表示:运行游戏解决模型工作室。相反,请查找名为 studio 的可执行文件。
  • @ErwinKalvelagen 感谢您的有用评论。因此,我想将我的问题编辑为与工作室可调用名称有关的确切问题。
  • @ErwinKalvelagen 我从 Gams 论坛得到了答案。他们建议我使用文件管理器并找到 AppImage。现在我可以访问 Gams Studio。

标签: linux ubuntu optimization gams-math


【解决方案1】:

您可以为自己定义一个 bash 别名。添加类似的东西

alias gams_studio='~/path/to/gams/installation/studio/studio.AppImage'

到你的 .bashrc。然后你可以在你的 shell 中调用 gams_studio 开始。

确保文件 studio.AppImage 具有执行标志。如果需要,您可以通过chmod +x staudio.AppImage 进行设置。

【讨论】:

    猜你喜欢
    • 2022-06-14
    • 2015-10-24
    • 2020-06-21
    • 1970-01-01
    • 2012-08-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多