Replies posted by rhserna21
The data exchange library offers and explanation on how to associate a procedure with a dex annotation, by doing this I would be able to expose my procedure under a specific path. My question is where can I insert this annotation in my procedure?. Is there a way to make this more concrete?e.g. I have this procedure which I would like to call from pythonInitialize_Read;Choose_Model( mt ) := 0;Choose_Network(nt):= 0;Choose_Model('Generation+Transmission_Expansion') := 1;Choose_Network('Transportation_Network'):=1;PrepareData;Selectionofyears := '2050' ;SelectionofyearsDyn := '2050' ;SelectionOfHours:=SupHours;SelectionOfSeasons:=SupSeasons;SelectionOfDays:='1';LP_MainExecution_GenTransInv; Kind regards!
Hi Mohan, Thanks for your reply, I tried running it in the windows cmd and I get the next error (this line I also ran in a paid license and it worked):C:\Users\hernandezsernar>"C:\Users\hernandezsernar\AppData\Local\AIMMS\IFA\Aimms\184.108.40.206-x64-VS2017\Bin\AimmsCmd.exe" "C:\Users\hernandezsernar\Documents\COMPETES\Competes_2020.aimms --run-only examplespine"Error: Unable to open AIMMS with "--as-server --ignore-dialogs --hidden "C:\Users\hernandezsernar\Documents\COMPETES\Competes_2020.aimms --run-only examplespine"": Starting up Aimms failed. Program initialization error.
Already have an account? Login
Please use your business or academic e-mail address to register
Login to the community
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.