Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GAMS doesn't recognize "acos" #8

Closed
Jovansam opened this issue Feb 11, 2021 · 2 comments
Closed

GAMS doesn't recognize "acos" #8

Jovansam opened this issue Feb 11, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Jovansam
Copy link

Hi,
GAMS.jl has a problem with 'acos'. In GAMS (as opposed to Julia-JuMP) it is called arccos. Might there be a translation problem?
See problem line:

    @NLexpression(DPVI, V̂[i=SN, j=Sdeg], coefs[j] * cos((j - 1) * acos(dz * (kPlus[i] - extkmin) - 1)) )
@renkekuhlmann
Copy link
Member

Absolutely! Thanks for reporting this issue. Will be fixed shortly.

@renkekuhlmann renkekuhlmann self-assigned this Feb 11, 2021
@renkekuhlmann renkekuhlmann added the bug Something isn't working label Feb 11, 2021
@renkekuhlmann renkekuhlmann changed the title GAMS does.jl recognize 'acos" GAMS doesn't recognize 'acos" Feb 11, 2021
@renkekuhlmann renkekuhlmann changed the title GAMS doesn't recognize 'acos" GAMS doesn't recognize "acos" Feb 11, 2021
@renkekuhlmann
Copy link
Member

Has been fixed with GAMS.jl version 0.2.2 (available in package manager very soon). Also added support of asin, atan, mod and sign. Thanks again for pointing out this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants