Select Page


This page summarizes the frequent questions about Monolix.

Monolix2018R1: Evolution from Monolix2016R1

Resolution and display

  • OpenGL technology impact on remote access: Monolix and Datxplore interface were updated with OpenGL technology. Unfortunately, remote access using direct rendering is not compatible with OpenGL, as the OpenGL application sends instructions directly to the local hardware bypassing the target X server. As a consequence, MonolixSuite cannot be used with X11 forwarding. Instead, an indirect rendering should be used, where the remote application sends instructions to the X server which transfers them to the graphics card. It is possible to do that with ssh application, but it requires a dedicated configuration depending on the machine and the operating system. Other applications such as VNC or Remina can also be used for an indirect rendering.
  • If the graphical user interface appears with too high or too low resolution, follow these steps:
    • open and close Datxplore
    • open Monolix
    • load any project from the demos
    • in the menu, go to Settings > Preferences and disable the “High dpi scaling” in the Options.
    • close Monolix
    • restart Monolix



  • What is needed for a regulatory submission using Monolix? Monolix is used for regulatory submissions (including the FDA and the EMA) of population PK and PK/PD analyses. The summary of elements needed for submission can be found here.
  • How to cite Monolix? To cite Monolix, please reference it as here with the good version name and year
    Monolix version VersionName. Antony, France: Lixoft SAS, Year.

    For example

    Monolix version 2019R1. Antony, France: Lixoft SAS, 2019.

Running Monolix

  • On what operating systems does Monolix run? MonolixSuite runs on Windows, Linux and MacOS platform.
  • Is it possible to run Monolix using a simple command line? Yes, see here. In addition, there is a full R -api providing the full flexibility on running and modifying a Monolix project as can be seen here
  • When trying to load any project, I getError during module building:Calling the build setup failed and returned“. This message means that the compilation of the model has failed.
    On Mac OS, make sure that XCode has been installed and launched at least once, as specified on the download page.
    On Windows, the most common cause is special characters (including dots and spaces) in the windows session username. To modify the path where the compiled model is stored to avoid using the username, please follow this procedure:
    1) Go the installation folder (usually C:\ProgramData\Lixoft\MonolixSuite2018R2 ). ProgramData is usually a hidden folder, but it is possible to just copy and paste the path in the path bar at the top of the Windows Explorer.
    2) Once you are in the installation folder, go to the config folder and open the system.ini file in a text editor such as WordPad or Notepad++.
    3) Modify the [path] section in the following way:
    enforced-modules-directory = C:/Temp/lixoftmodules
    4) Close and reopen Monolix.
  • When trying to load a project created on Windows, I get “Impossible to open file ‘dataset.csv’ in text mode” error message. To overcome this error, start MonolixSuite in the following way:
    1) right click on the application icon and click on Show package content,
    2) open MacOS subfolder inside Contents folder,
    3) start MonolixSuite by double clicking on monolixsuite.


  • How to initialize my parameters? There are several ways to initialize your parameters and visualize the impact. See here the different possibilities.


  • Can I define myself the result folder? By default, the result folder corresponds to the project name. However, you can define it by yourself. See here to see how to define it on the user interface.
  • What result files are generated by Monolix? Monolix proposes a lot of different output files depending on the tasks done by the user. Here is a complete listing of the files along with the condition for creation. See here for more information.
  • Can I replot the plots using another plotting software? Yes, if you go to the menu Export and click on “Export charts data”, all the data needed to reproduce the plots are stored in text files. See here for the description of all the files generated along with the plots.
  • When I open a project, my results are not loaded (message “Results have not been loaded due to an old inconsistent project”). Why? When loading a project, Monolix checks that the project (i.e all the information saved in the .mlxtran file) being loaded and the project that has been used to generate the results are the same. If not, the error message is shown. For instance if one runs a project, then do “use last estimates”, save and try to reload the project, the saved project has the “last estimates” as initial values which are different from the initial values used to run and generate the results. In that case the results will not be loaded because they are inconsistent with the loaded project. This is also explained with some examples in this video.
    It is possible to check what is preventing the load of the results by comparing the content of the .mlxtran file to load and the .mlxtran file located in the hidden .Internals folder in the result folder. To see the .Internals folder, the “show the hidden files/folders” must be activated on the machine.
  • Are the results of Monolix reproducible if I rerun the same analysis? Yes, see here for more information.


  • How are the censored data handled? The handling of censored data is described here.
  • How are the parameters without variability handled? The different methods for parameters without variability are explained here.
  • What is the convergence indicator, displayed during SAEM? Its meaning and function is explained here.
  • When estimating the log-likelihood via importance sampling, the log-likelihood does not seem to stabilize. What can I do? The log-likelihood estimator obtained by importance sampling is biased by construction (see here for details). To reduce the bias, the conditional distribution \(p_{\phi_i|y_i}\) should be known as well as possible. For this, run the “conditional distribution” task before estimating the log-likelihood.

Model definition

  • Is it possible to use time-varying covariates? Yes, however the covariates relationship must be defined in the model instead of the GUI. See here how to do that.
  • Is it possible to define complex covariate-parameter relationships such as Michaelis-Menten for instance? Yes, this can be done directly in the model file. See here how to do it.
  • Is it possible to define a categorical covariate effect on the standard deviation of a parameter? Yes, this can be done directly in the model file. See here how to do it.
  • Is it possible to define mixture of structural models? Yes, it may be necessary in some situations to introduce diversity into the structural models themselves using between-subject model mixtures (BSMM) or within-subject model mixtures (WSMM). The handling of mixture of structural models is defined here. Notice that in the case of a BSMM, the proportionbetween groups is a population parameter of the model to estimate. There is no inter-patient variability on p: all the subjects have the same probability and a logit-normal distribution for p  must be used to constrain it to be between 0 and 1 without any variability.
  • Is it possible to define mixture of distributions? Yes, the handling of mixture of structural models is defined here.
  • Can I set bounds on the population parameters for example between a and b? It is not possible to set bounds for the estimated population parameters. However it is possible to define bounded parameter distributions, which as a consequence also bound the estimated fixed effect parameter. See here how to do it.
  • Can I put any distribution on the population parameters? Not directly through the interface. Using the interface, you can only put normal, lognormal, logitnormal and probitnormal. However, you can set any transformation of your parameter in the EQUATION: part of the structural model and apply any transformation on it. See here how to do it.
  • Can I set a custom error model? No, this is not possible. It may however be possible to transform the data such that the error model can be picked from the list. For an example with a model-based meta-analysis project, see here.
  • What are the units of estimated parameters? Can I define a scale factor? The units of the estimated parameters depend on the units of the data set and are implicit. Check here to learn how to include a scale factor.


  • How to compute AUC, time interval AUC, … using Mlxtran in a Monolix project?  See here.
  • How can I calculate the coefficient of variation? The coefficient of variation is not outputted by Monolix but can easily be calculated manually. The coefficient of variation is defined as the ratio of the standard deviation divided by the mean. It is often reported for log-normally distributed parameters where it can be calculated as: \( \textrm{CV}=\sqrt{e^{\omega^2}-1} \) with \( \omega \) the estimated standard deviation. See the video here.


  • How to export to Datxplore, Mlxpore and Simulx?
  • I exported the chart settings as default, how can I come back to the default Monolix settings for all plots? Delete the file <home>/lixoft/monolix/monolix2020R1/config/settings.default . In windows, the path to the <home> folder is C:\Users\<username>.