AIMMS PRO & Cloud Platform
Get and give help with AIMMS PRO and Cloud Platform
- 77 Topics
- 80 Replies
Hi,I have a procedure that I run with pro::DelegateToServer. When I run this procedure in an end-user session on the cloud, the global error handler runs fine when it comes across this statement:raise error "artificial error";.I have set the global error handler in the option menu: However, when running the same procedure in a delegated server session, the global error hander doesn't run. As workaround, I now included this onError block in my code, but it feels a bit weird to me that this is required to trigger the global error handler. Is this expected behavior? I'm running AIMMS 4.97 on the Cloud.
Did you know that every AIMMS Cloud account is by default equipped with an Azure Data Lake Storage Gen2 (ADLS). You can use this storage account to store all types of files that you want to integrate with your AIMMS application. You can also use it to store files generated based on the output of your optimizations, as to make them available to an external source.We’ve posted a how-to about this new DataLake toolkit now in place!The Data Exchange Library offers functions to easily interact with the ADLS.This toolkit offers you the possibility to easily create a SAS token which is needed for authentication if you want to access the ADLS from an external source. It also allows you to fetch and manage the currently known file systems (‘containers’) on the ADLS and the paths (folders) and files in it.Come and see! 😀
Hello! We are working on a project where data files are stored in central storage following an optimization. We would like users to be able to view and load those case files into a session at a later point in time. We store these data files in a PublicData folder for all users to use. However, regular users are not able to see any of the folders/items, no matter what the permissions of a file/folder are. Am I missing something regarding how central storage viewing works? Looking forward to your answer!
A vulnerability in SSL 1.1.1 has been recently reported. Since we do use SSL in our products we would like to inform you of the impact it has on the security of AIMMS and PRO platform. What are the vulnerabilities? The actual vulnerabilities are mentioned in this article: https://www.openssl.org/news/openssl-1.1.1-notes.html, under “Major changes between OpenSSL 1.1.1s and OpenSSL 1.1.1t [7 Feb 2023]”They are explained here in detail:https://nvd.nist.gov/vuln/detail/CVE-2023-0286 [high 7.4] https://nvd.nist.gov/vuln/detail/CVE-2023-0215 [high 7.5] https://nvd.nist.gov/vuln/detail/CVE-2022-4450 [high 7.5] https://nvd.nist.gov/vuln/detail/CVE-2022-4304 [medium 5.9] Where do we use OpenSSL 1.1.1h in our software? Product Application of OpenSSL 1.1.1 PRO on Cloud does not use OpenSSL libraries PRO on-premise uses OpenSSL 1.1.1h for downloading autolibs and for traffic from/to the portal in case the admin has enabled SSL HTTP Client Library
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.
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:
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
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.
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
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
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
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?
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?
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
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?
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.
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
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 email@example.com 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
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.