Topics about getting started or leveling up as an AIMMS developer. Datalinks, AIMMS language, building apps...
- 497 Topics
- 1,092 Replies
Hi,I would like to save a section of my model to a case using the new data management style “Disk files and Folders” (https://documentation.aimms.com/functionreference/data-management/case-management/casefilesave.html)However I get the following error: I made sure my section is part of AllCaseFileContentTypes, and it does work if i use CaseCommandSaveAs, just not for CaseFileSave (or CaseFileSectionSave), but obviously I don’t want to always manually save it. Could you help me out with this error?
Optimization applications deal with numeric data. We find it easier to interpret when represented by familiar units of measurement. However, there is a risk of serious errors resulting from incorrect unit assumptions. Remember the Mars spacecraft NASA engineers lost due to this problem? One solution is to add code to an application in order to convert a value measured in, say, miles to a value measured in kilometers. But this can cause loss of accuracy, is prone to errors, and can become difficult to maintain. Luckily, AIMMS automates the task of adopting the numeric values to the units preferred by the user. [url=https://how-to.aimms.com/Articles/266/266-units-of-measurement-localized-data.html]Read more...[/url]
Very often, you will find yourselves having to define a certain property for an item based on its category. For example, cost($) of an item based on the size of that item (small, medium, or large). This is similar to using lookups in Excel to create a map from the size-cost table to the list of items. This article will show you how to model such a category mapping in AIMMS. Find a use case and more information [url=https://how-to.aimms.com/Articles/17/17-category-mapping.html]here[/url]
Hi, I have a problem with the callback procedure that is called at each iteration but not the last. At each iteration, the callback is called, if the solution violates the constraints, the cuts are generated and added to the model, but in the last iteration the callback is not called at all, so the feasibility is not checked and the optimal solution provided by (cplex or gurobi, I tried both) is in fact infeasible. This is a scheme of the code: GMPRelaxedModel := GMP::Instance::Generate(NoEnergy_per_lazy) ;GMP::Instance::SetCallbackAddLazyConstraint( GMPRelaxedModel, 'Robust_NogoodCut' );GMP::Instance::Solve( GMPRelaxedModel );
related to this topic, with the addition of Model Edit Functions (MEF), a lot of things that were previously impossible to do with AIMMS became possible. [url=https://how-to.aimms.com/Articles/146/146-value-dynamic-identifier.html]Here's[/url] all you need to know.
The Email Client library supports the use of template files in HTML and TXT formats. You can set up templates with placeholders to be replaced by values from identifiers in your AIMMS project. Read [url=https://how-to.aimms.com/Articles/111/111-creating-email-templates.html]here[/url]
Last Friday, we had another fantastic demo session.Here are my thoughts and impressions:API Key generations and handling (aka PRO REST API Keys) - this is really cool! As in several API services available, PRO will also have key generation available to interact with the REST server. As always, security comes 1st, so all necessary measures are in place to use this properly and securely. Looking forward to checking all the automation that will be available from this. /
Our AIMMS Community License has completed it's first year! 🎉🎊🎈And we are very happy in the reception that this free edition got by our users.Looking back at the original post, I love the proposed intentions for this release. To quote @Gloria Quintanilla :Whether it’s crafting a plan to reduce your personal carbon footprint, creating a schedule for your kids’ school or simply to learn and experiment, AIMMS Community Edition is ideal for those who want to apply modeling to improve decision making. It’s also a great companion for recent graduates who previously used an AIMMS Academic License but want to continue playing with the software at no cost, or showcase their AIMMS skills to prospective employers. So, what did the community edition do for you? Please share with us!And if you still don't have a license, jump right on:https://licensing.cloud.aimms.com/license/community.htm?utm_source=website&utm_medium=footer
The time spent by AIMMS applications can be divided into AIMMS execution time ( including evaluation parameters with definition, executing procedures, generate matrix for solvers, etc), the time spent by solvers, and the I/O time. [url=https://how-to.aimms.com/Articles/125/125-execution-efficiency.html]Here [/url]you find some examples.
To properly launch and shut down an AIMMS application, it’s important for a model builder to know the initialization and termination sequence order used by AIMMS. Therefore, in this tutorial, we built a small application to illustrate the order of initialization and termination. There are various other questions a modeler may have regarding the initialization and termination of an app, including:When can you rely on a library to be initialized? How to stop a running application?Check out the How-To by @Chris Kuip and download the sample application to walkthrough the process in detail.
In this How-To article we explain how to implement the usage of the data formats (JSON, XML, CSV, Excel, Parquet) in mapping files and, if applicable, format-specific requirements. This article is part of a How-To series on the DEX. Let us know if you have any questions about using the DEX and/or suggestions for follow-up articles! Go to article: Dealing with different data types in the DEXNew to DEX? Start here!
I am a student and have been using AIMMS for roughly a year already. When I tried opening AIMMS today, the following occured: Logging on to AIMMS License Server failed: No logon response from server.Another user had the same problem, however the solution to that post didn't work. Did the license expire or is something else the problem?
Are you developing applications in AIMMS? Then security is probably something you have to comply with, but you don’t want your security considerations to get in the way of the user experience. If that’s the case, this article is important for you.In most cases, your IT team will require that you use tools and software that are up-to-date when it comes to security standards. AIMMS is evolving to incorporate the latest security components as well. If your IT department requires you to use the latest security updates, and you are using an AIMMS version that doesn’t have the latest updates incorporated, your applications will fail. This is why we advise you to keep your AIMMS and AIMMS PRO software up-to-date. This helps you stay compliant with your IT department’s requirements, and allows your end-users to continue using your application without interruptions.For more on this topic, check out @Chris Kuip’s new How-to on the use of the Transport Layer Security in AIMMS and in AIMMS PRO.
In version 4.71.4, I tried to use the LastUsedColumnNumber, and as the name already gives away it returns a number while I had hoped for a column name in the range of 1 to “ZZZ” like the ones that Excel uses. This would make it easier to also used it in the column/data range definition when reading data.Can anyone advice on how to easily/efficiently translate this?Thanks in advance!
Hello everyone, I have an Element Parameter PredecessorOperations(i_operation) that holds the value of the operation that has to be executed before i_operation. With the following statement i want to check if the EP has a value or not: if (val(PredeccesorOperation(i_operation)) = 0) then….endif; However this only works if all values of the Ep are empty. If any operation gets assigned a predeccesor (e.g. Operation1) then i get the error: Cannot compute the value of string “Operation1”. If I would casually formulate the code it would look like this: if( PredeccesorOperation(i_operation) is empty ) then ….endif;So my question is: What operator do I need to use in order to check if the parameter has any value or no value assigned? I am thankful for any advice you might have. With kind regardsAndrew
Running late on this one! Even if it was a while back, I think there were interesting things going on. We have been working on a new compilar. We are not done yet (no changes to product as of yet), but progress has been made. When this is done, it opens up possibilities for innovations in the use of the AIMMS language. Combination chart! How this grows! We now allow you to specify an interval for the X-axis label. Nice to clean up label-heavy axis. It is now possible to hide specific indexes from being displayed - which can also make legends and labels less cluttered and more useful. I see two nice use cases: similar to pivoting the identifier label to the totals; hiding auxiliary indexes that shouldn't be shown to end-user. Combination chart on non grid - now you can see that it is incompatible (isn't of just not showing up). Tooltips are now also supported on the Selectionbox, Multiselect and Legend widgets, by using a Tooltip Identifier for the relevant identifier(s) in your mo
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.