Topics about getting started or leveling up as an AIMMS developer. Datalinks, AIMMS language, building apps...
- 618 Topics
- 1,349 Replies
I run Power System Optimizer (PSO) developed on AIMMS. The current version of AIMMS we have is 220.127.116.114 on the windows server. The software ran with no issues till last week. However, after probably the server update, AIMMS crashes each time I read input files and throws the following error: the thread tried to read from the virtual address for which it does not have the appropriate access. I am not sure what the issue is as the input folder has complete privileges for read/write.
hello,I was studying the tutorials provided by AIMMS and I came across a Production Model in the PDF Document for AIMMS for Professionals Tutorial. I’ve tried to open the file to see if it works but I come across the following errors as attached and it will not let me execute the model. The zipped folder with the model has also been attached for your reference. Thank you for all the help!
I have several problems but I think they are related to each other. For all my constraints I get the warning “The index “i” already has a scope” and I also get this warning when I want to enter my data. Also when I want to specify the objective for my Mathematical Program I get the warning: “Expecting a scalar identifier (no free indices)”. I’ve added pictures of one of my constraints, the warning from the Mathematical Program and my Set where I believe the problem might be with the index i. But I don’t really know how to fix it so if someone could help me I would be very grateful.
Hello,I am a beginner with aimms programmation. I added a constraint which is :sum[t,BackLog(i,t)|t>14]=0But when i compile my model, it gives me this message error: Constraint programming constraints cannot be used in combination with real valued variables, only with integer valued variables, element valued variables, and activities. The real valued objective variable is an exception. The mathematical program "MinCost" has both constraint programming constraints and real valued variables, for instance constraint "BackLogC" and variable "Quantities".Do you know wha should I do ?Thank you !!
Hello,I haven’t finished my master's thesis because I need to install AIMMS in Amazon Web Services (to have a strong processing capacity, and I have US 10.000 credits). To do that I need to enter the Subnet of the university to activate the license through a virtual machine on Amazon (EC2). This has been impossible.Some help would be amazing or another solution.BP
Error: To run AOA the name of the AOA callback procedure should be assigned to suffix 'CallbackAOA' of 'Loesung'
While calculating a Sum-Function I encountered a problem (see error message below):While using the power of X=1 and X=2 the model works perfectly however with any other number (also negative numbers) it displays the error below in red.Function: Sum[p, 2 * (L1(p)+0.001)^(X) ] Using +0.001 to avoid any division by 0 (in case of X being negative).L1(p) being a variable which is defined by a constraint L_1(p):Sum[i,L(p,i)] + L1(p-1)= L1(p)And L(p,i) in the constraint being a binary parameter. To run AOA the name of the AOA callback procedure should be assigned to suffix 'CallbackAOA' of 'Loesung'. For example: Loesung.CallbackAOA := 'OuterApprox::BasicAlgorithm'; where 'OuterApprox' is the prefix of the Outer Approximation module.Warning: Model status 13: Error no solution, Solver status 10: Error: Solver failure (see message window).Thank your for any help.
I am trying to open the model that gives the demo of how to connect AIMMS with Python in AIMMS Developer, however I am getting an error and I am not able to open the model. The model given at the below link:https://how-to.aimms.com/Articles/487/487-aimms-with-python.html
Looking at screenshots can anyone tell me why the element parameter Calc(i,t) is not getting calculated? The problem comes when I am using ‘shift’ unit of measurement. If I use standard units like day or hour, the element parameter gives correct answer.I need the data of element parameter to be as follows: For example for t=2021-03-01 00:00 answer for b1: 2021-02-01 08:00 (since we are deducting 2 shifts) and for b2: 2021-02-01 00:00
Hello, for a submission I just had to download AIMMS. I have applied for the Academic License to use it. After I received the verification mail, I proceeded exactly as described in the mail. However, I still can't really use AIMMS because I always get the following error message when creating a new project. As soon as I want to open another project, I also get an error message. When I want to implement a new model I can't add new sets, parameters etc. either. Any help is highly appreciated!
I’m trying to define a limit to RAM memory available to solve a generated mathematical program. Is this function related to this? I tried code below, but it’s stoping my solve before the time_limit defined, before the the GAP defined and also is not using 24 GB available. And before I changed the code to use gmp functions it was taking more than 11 GB.
I’m using CSVProvider 18.104.22.168 for writing outputs to CSV. While writing, certain rows are missing in the csv file where the variable values were 0. When checking in AIMMS (right click variable → Data) I see the domain still has that index but empty value (which means it is 0). However, while writing to CSV the index where variable values were 0 is missing. Is it possible to either include a blank row or with values 0 for the index position where the variables were 0 ?
Hi All,For a project we are implementing a user is making changes to a relatively large table. The user has the possibility to store these changes in a database.However, when a user closes his/her browser after having made these changes and forgets to store the changes in the database the changes have to be made all over again. Is there a way to raise a warning when closing the browser? In this case that would refer to a user that has made changes, but has not stored them in the database.I know using a uponleave procedure works when navigating to a different page, however when closing a tab no warning is raised using such a uponleave procedure. Furthermore, I have seen multiple sites raising a warning when closing the tab, so curious to see if this is possible to do in the AIMMS WebUI as well!
Hi community,I have a three-dimensional parameter I would like to import. I know how to import one- and two-dimensional parameters, but do not know how to do this one. The data is stored in excel (I have attachted a snapshot as illustration of the structure of the data), I can extract (with some formulas in excel) the range (AM3:AO32) from which i would like to import the data. I also know the number of products (6), number of locations (5) and number of time periods (3). Can someone help me out with this?
Is it possible to initialize local parameters, which have the property RetainsValue set? The first time, that the procedure/function is called, I would like the parameter to be initialized by a certain value. Afterwards, when the procedure/function is called again, I would like the parameter to keep the value from the previous procedure call.If I set Initial data for the parameter, the behaviour of RetainsValue is lost and the parameters is initialized with that value in every call to the procedure.
In our team, we are working on a linear energy system model which is expanding every day. We use the LP Gurobi solver with multi processing. Currently, it has 250M non-zeros (after presolve) and we think it will grow to more than a billion. If the computational capacity (let's say several hundreds GB of RAM) is present, is there any limitation on the problem size on AIMMS side?In particular I am interest in any limitation on number of variables, constraints, or non-zeros? or any limitation on the capacity of committed RAM or number of CPU cores for parallel computing?
Hi there,I’m having an issue with AIMMS which is preventing the advanced text editor from working.When I launch AIMMS I get a Windows pop-up asking to install the Microsoft .NET framework 3.5. Then in AIMMS I get the error:Unable to locate the SyntaxEditor .NET assembly, falling back to ordinary editor.However, my machine is already operating the .NET framework 4. I’m using a work machine so am unable to roll back/install the older framework.I’m running Aimms-22.214.171.124-x64-VS2017.Has anyone had this issue?Any ideas on how I might be able to get it working?Thanks for your help!
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.