Search found 3 matches

by polppp
6 months ago
Forum: API
Topic: Python Embedded in Gams - Import Python Package
Replies: 13
Views: 2431

Python Embedded in Gams - Import Python Package

When I am using embedded python code in GAMS can I import python packages such as pandas some how? When I am just normally write :

$onEmbeddedCode Python:
import pandas as pd

I get an 865 Problem in Embedded Code Section

Thank you
by polppp
6 months ago
Forum: Tools
Topic: Fitpack Library- How to use it?
Replies: 1
Views: 1859

Fitpack Library- How to use it?

Could somebody help me with this simple example so I can understand how this function works? I have 10 measurements y every, one per hour. Now I wan to analyse this data in 5 minutes frame resolution so I need to fit a curve of 120 points at this 10 points (x,y) . I create the 3 dimensional fit.gdx ...
by polppp
7 months ago
Forum: Tools
Topic: GDXXRW issues for a newbie
Replies: 3
Views: 1262

GDXXRW issues for a newbie

Hello, I am trying to read some parameters from excel to gams. I am creating the gdx. file with this command: $call gdxxrw.exe Book1.xls par=alpha rng=sheet1!A2:B3 ; And then I am trying to load the data with: $gdxin Book1.gdx $load alpha $gdxin As you can see in the attachment the error I am taking...