Recent Posts

Starting your Jupyter Notebook with a doubleclick
Jupyter Notebooks are a great way of working with Python and R. You can add your notes in Markdown and write code in a cell that can be evaluated over and over again.
However, one thing I didn’t like is that you have to start (on Windows) the Jupyter Notebook server in the directory where you have your notebook saved. Doubleclicking a Jupyter notebook (with the extension ipynb) doesn’t work if you don’t install an additional package. Luckily, there is an easy way to get this working found on Axel’s blog.
I used the following code to enable doubleclick … Read the rest “Starting your Jupyter Notebook with a doubleclick”

Fighting chaos: Collections
If you work on multiple projects you might have problems remembering the names of the files you are working on. Was the LaTeX file in the subdirectory “Documentation” or in “Notes”? Was the name “model.tex” or “logit.tex”? Was it “bench.gms” or “benchrd.gms” or “bench1.gms”? I loose often time searching my directories for the file I want to work on and, unfortunately enough, I am not that systematic in naming and filing my files.
I tried to solve this by keeping a list in a note, creating links, and so on, but nothing seemed to work (or I was not consistent … Read the rest “Fighting chaos: Collections”

Looking for infeasibilities in Gams
A good CGE modelers always checks the calibration of a CGE model using a simple trick: If you set the iteration limit of the model to zero and you try to solve the model, GAMS should find a solution if you correctly initialized and wrote down your model equations with the use of the benchmark data. Often, the calibration is not done properly and this can be seen (using the iteration set to zero) by looking at the infeasibilities of the equations and the variables.
If you use MPSGE to write down your model, the infeasibilities are easily interpreted. If … Read the rest “Looking for infeasibilities in Gams”

Why I don’t like Matlab
Working with a group of researchers can be very interesting but also very frustrating if you have to use their software tools. In my case, I have to use Matlab. If you are used to R, Python, and Gams this is more than a nightmare. This post is after a frustrating day with Matlab.
Most of my researcher colleagues use in their Matlab code matrices, so no row names or column headings. What you see are just numbers. If you want to know what the number represents, you need to look at vectors that contain the sets/row names/headers. Some of … Read the rest “Why I don’t like Matlab”

Showing a beamer presentation with preview of next slide
If you use LaTeX with the package Beamer instead of Powerpoint to make presentations, you will probably miss the possibility to present a slide and at the same time have a quick glance on the next slide (Powerpoint has this great feature).
Searching the internet, I found the following solution: pympress:
“It is designed to be a dualscreen reader used for presentations and public talks, with two displays: the Content window for a projector, and the Presenter window for your laptop. It is portable and has been tested on various Mac, Windows, and Linux systems.”
You can download it … Read the rest “Showing a beamer presentation with preview of next slide”
Posts navigation
Categories
Recent Posts
 Automatic line breaks in LaTeX tables 37 views
 Gams code in LaTeX documents 11 views
 Tables with footnotes in LaTeX 9 views
 Producing standalone figures with TikZ in LaTeX 6 views
 Starting your Jupyter Notebook with a doubleclick 4 views
 Using OrgMode for Project Management 3 views
 Bibliography with abstracts in LaTeX 3 views
 Showing a beamer presentation with preview of next slide 2 views
 ExcelAddin for converting Excel tables to LaTeX tables 2 views
 Indenting with Gamsmode 2 views