AIMMS PRO & Cloud Platform
Get and give help with AIMMS PRO and Cloud Platform
- 72 Topics
- 76 Replies
Time limit for AIMMS PRO Jobs
Recently, someone asked me about time limits for AIMMS PRO Jobs.You can control the timeout via the timeout argument in pro::delegateToServer. Note that this timeout is in milliseconds.When thinking about time limits, I usually think about time limit for the solver.To provide the solver with the opportunity to share the best solution thus far, I usually add some minutes to cater for case load, project start, case save etc of the job to the time limit for the AIMMS PRO Job. Therefore, my delegate sometimes looks as follows:if pro::DelegateToServer( ... timeout: p_timeLimit * 1.2 * 1000 + 5 * 60 * 1000, ! timelimit for job is in milli seconds. ....) Where p_timeLimit is the time limit in seconds for the solve itself.
Creating and using an AIMMS Task published on the AIMMS Cloud using AIMMS PRO REST API
Playing with AIMMS
Recently I was challenged whether AIMMS can be used to quickly put together a multi-player game.To demonstrate, I put together a simple Chess Board in an AIMMS application, added CDM for the multiplayer effect and published it on AIMMS Cloud and recorded a three minute video, all in one afternoon. Chess boardYou can view the video here:
Migration from Amazon to Azure
Dear reader,I would like to inform our users about the rationale for migrating from Amazon to Azure. Is there an easy explanation for this migration?Other question is whether the new Azure environment has more powerful hardware? CPU / Memory etc.?Look forward to your repliesMany thanks in advanceBest regards,Nort
Using the C# API for AIMMS, how can I retrieve a job using a sessionID?
When scheduling a job as per the API example found here, a job object is returned that also contains a sessionID.Is it possible to store this sessionID in order to later retrieve the status of the scheduled job? i.e. scheduled/running/finished. EDIT:To clarify, this is my problem:Given: a server object and a (valid) sessionID Goal: Create a Job object that I can use to retrieve the Job.Status propertyHow do I achieve this? As a side question, but not my main focus, how do I get a list of all scheduled jobs (including finished ones) such as the overview you get when navigating to the ‘jobs page’ in the portal?Using the Server.getCurrentJobs() method seems to only retrieve unfinished jobs.
Uploading a large file to the AIMMS PRO Cloud Platform
Hello, I am working with the AIMMS PRO Cloud Platform and, in one of our systems, the user’s AIMMS project must exchange data with their other solutions through SQLite. We have a current solution in WinUI for this integration but we were looking into adapting the user interface to a cloud-hosted WebUI approach. The challenge we are facing right now is the integration with the DB files. One of those SQLite files reaches the size of 900Mb and the upload widget seems to simply load an animation and show an error. The tool works with smaller files.Would anyone know a way to bypass this size limit while uploading files? Regards, Jean Tremeschin
Apache log4j vulnerability does not affect AIMMS software
We would like to inform you that the log4j vulnerability (CVE-2021-44228) does not affect the AIMMS Cloud Platform or AIMMS PRO on-premise installations:The vulnerability is in log4j 2.x (2.0-beta9 to 2.14). AIMMS PRO uses log4j 1.2. This version does not include ‘run-time loading of classes’ which is the functionality used for the vulnerability. Security group configuration on the AIMMS Cloud Platform would prevent exploitation of this vulnerability in case we would be using a 2.x version. In case we would be using a 2.x version, AIMMS PRO on-premise installations would have to permit external calls to an LDAP server, which we consider highly unlikely. Update on December 14, 10:30 CETThe only AIMMS products using Java are AIMMS PRO and the SDK Java client. The LicenseServer and AIMMS are not Java and therefore are not affected. The aimmssdk-server is not Java and therefore is not affected. The aimmssdk codebase does provide a Java variant of the aimms-api, which can be used by cust
Download excel file from Cloud
Hi,I took the exampleNFL project from the documentation and was trying to modify the input data, write it to excel sheet Output.xlsx, cross check if the data is being modified and download the same. It seems to work till cross check part but I am facing difficulty with downloading. Could you please let me know where am I going wrong with the model? I have attached the model for your reference. Also, the model needs to work on Cloud.Thanks,Vishwesh
Solve in loop on AIMMS Cloud
I save the post on how to solve multiple instances of a model iteratively. However, the question I have is how can it be done when using AIMMS Pro? Right now the problem is all instances are being sent out to the cloud at the same time. I want to run one instance, and then the other after that, and based on its results. Can something like this be done?
Update AIMMS Pro Main page to use Google Analytics?
Hello,we are in the process of updating many of our web applications to use Google Analytics. This involves adding a small script to the main page (ex. index.html) in the <header> section of the html.Has anyone else done this and are there any known issues with doing so? I know if you try to manually edit the configuration file it gets overwritten when you restart the services via configurator, so not sure if there is a similar protection on the HTML files . Or, alternatively, has anyone set up app Azure/Application Insights with AIMMS Pro?
API Error 0 when starting optimization with AIMMS Pro
Hello,I’m trying to run an application via AIMMS Pro/WebUI. I can run the optimization via AIMMS Developer/WebUI without a problem, but when I try the same on the AIMMS Pro server the following error-message appears: awf.data.aimms.session: Running procedure 'testprocess' has resulted in an error: API Error 0 when running procedure 'testprocess': (code=500) Can anyone help me with that? Best regards Jonathan
LIcense Error with an AIMMS Pro APP
We have a winui based Pro app hosted on a server with updated licenses and adequate maximum number of users. However, some of the users seem to have received the following error when they open the aimms pro app. I have noticed this error only with developer licenses in general. Could you advice on a possible cause so we could investigate further?
Is it possible to develop locally but solve using the PRO cloud solver session?
As the title of this question indicates, I am looking to work in developer, but send the solve statement to a pro solver session. (And retrieve the results of course)Two main reasons for this are:In that way my laptop will not be taxed (and overwhelmed) by the models that I am developing In this developing stage I gather date from a database that is not connected to our PRO environmentA workaround that does work is to publish the app including relevant data (as a case to the app). However this is a rather inflexible way of developing. As an extra detail, at this point in time my machine cannot generate and solve the instance in reasonable time, while my described workaround takes a little under 2 minutes.
Error while reading database on Cloud
Hello, I am trying to read a db file on Cloud but it is showing the error attached herewith.Description:I have created a parameter that reads value from the database Output.db with procedure ReadTable. Also, I have created a procedure AddRecord to add record to the database. I exported the aimms file to aimmspack file and uploaded it on Cloud. But it is not performing the as expected.Could you please help me with this problem? I have attached the model as well. Thank You,Vishwesh Patil
Gurobi Is Now Supported on the AIMMS Cloud Platform
AIMMS is pleased to announce that the Gurobi Optimizer can now be used on applications running on the AIMMS Cloud Platform - thanks to Gurobi’s new Web License Service (WLS). This expands the choice of solvers you have across AIMMS products and is part of our ongoing efforts to add more algorithmic capability features. What do you need to use Gurobi on the AIMMS Cloud? You need to purchase a Gurobi Web License Service (from Gurobi) and the Gurobi-link extension on the AIMMS Cloud. Please contact us at firstname.lastname@example.org if you are interested in buying or trying this out. How do you activate and configure Gurobi WLS on the AIMMS Cloud? Once you have your Gurobi WLS, you can connect to it through a few simple adjustments in your AIMMS model code. For more information, please see the AIMMS Cloud Platform documentation. The Gurobi Optimizer is capable of solving all major problem types (convex and non-convex):Linear programming (LP) Mixed-integer linear programming (MILP) Quadratic progra
Application Database on AIMMS Cloud Platform: user management for increased information securityTutorial
Applying the principle of least privilege for user management of application databases on the AIMMS Cloud Platform:When AIMMS creates an application database for a cloud account, we provide the customer with an ‘admin account’, a highly-privileged account, so that the customer has full control over the database. We recommend our customers to only use this account for user management and to create user accounts with limited privileges for other tasks, including the access credentials to include in the AIMMS app. We recommend that for each user you carefully limit the privileges you assign to this account to only what is needed to perform the tasks for which the account has been created. Finally, we recommend that you perform a periodic review of all database users and their privileges. Are these still up-to-date?With the above measures you will help reduce information security risks associated with the application database that holds, in most cases sensitive, company data. Meanwhile a
AIMMS Portal: Permissions History
Hi, The AIMMS Portal allows developers to grant permissions to the aimms apps at different levels ( environment / Group/ User )In a situation where the permissions were invariably modified, reset or lost.Is it feasible to retrieve permissions to an app from a previous day? Is it feasible to retrieve history of all permission modifications that have been made to an app? Is it feasible to retrieve history of all added users ?
Read Excel on Cloud
I wanted to know how is one supposed to take input from excel sheet when I publish my app on Cloud. I have tried uploading the excel sheet on cloud but I’m not sure how to locate the file on cloud and read data from that. Could you please guide me through this? Thanks.I have attached some screenshots for your reference.
How to Retrieve Solver Log Files in AIMMS PRO
In [url=https://how-to.aimms.com/Articles/13/13-Solver-Logging-IDE.html]Retrieve Solver Log Files in AIMMS Developer[/url], we explain how to adapt the project such that solver log files are available for inspection. A solver session runs somewhere on an AIMMS PRO server, and as a user, you do not have direct access to those files. However, with a few small steps, which are explained in this article, you can access these files as well. [url=https://how-to.aimms.com/Articles/13/13-Solver-Logging-PRO.html]Here[/url]
Propagation of Active directory changes to Aimms Group
We have created a new AD group in our AD server. Added the AD group in Groups in AIMMS.However it seems like the changes in group members in Active Directory does not propagate in AIMMS group. We dragged the members to their new groups in able for them to be able to log in.Note that the Group name in AD and AIMMS group are exactly the same. Does AIMMS Pro have a back end process where synchronization between AD and AIMMS are set?Do we have sort of configuration that sets the timing of synchronization?
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.