---
title: "Research Assistant at CIDI UCAB"
company: "CIDI UCAB"
position: "Research Assistant"
period: "January - October 2021"
contract: "Seasonal"
description: "My responsibility was to code and design a mixed integer nested partition optimization algorithm in C++11 for the investigation of the academic researcher Ebert Brea."
website: "https://www.ucab.edu.ve/investigacion/centros-e-institutos-de-investigacion/cidi/"
url: "https://rolandoandrade.me/career/research-assistant-cidi-ucab/"
author: "Rolando Andrade"
---

# Research Assistant at CIDI UCAB

> My responsibility was to code and design a mixed integer nested partition optimization algorithm in C++11 for the investigation of the academic researcher Ebert Brea.

Period: January - October 2021. Contract: Seasonal. Company website: https://www.ucab.edu.ve/investigacion/centros-e-institutos-de-investigacion/cidi/

# Turning math into fast code

In 2021, I worked as a research assistant at the Center for Research and Development in Engineering (CIDI). CIDI is part of Andrés Bello Catholic University, in Caracas. The job lasted from January to October, and it was challenging.

I worked with the faculty researcher Ebert Brea. My task was to build a solver for a complex math algorithm called the Mixed-Integer Nested Partition Optimization Algorithm. This was nothing like building a normal website. I had to turn complicated math equations into working code that could solve very hard optimization problems.

## What the algorithm does

Optimization means searching for the best answer among a huge number of options. Mixed integer means some of the values in the problem must be whole numbers, while others can have decimals. That mix makes the search much harder.

I implemented the algorithm, and I also contributed to its design. The goal was code that was efficient and that could scale to bigger problems, because the research was still ongoing.

## Why I used C++

The algorithm needed to run very fast. In Python or Java, small delays would add up, and the program could take days or weeks to finish.

So I used C++11. It is harder to program in, but it runs much faster. I had to manage memory myself and understand how the computer's processor works. I had to be very careful to avoid crashes, especially because some calculations took 40 hours to complete.

I built everything from scratch, without external libraries. It was just me, the compiler and the math.

## Testing every step

A bug in a calculation that runs for 40 hours is expensive. So I implemented and tested the algorithm carefully in a development environment, to make sure it worked and that it could scale.

I also worked closely with Ebert Brea. We checked that the algorithm met every requirement of his research.

## The moment it converged

After three days of running, I saw "Optimization Converged" on the screen. It felt great.

We built an algorithm that could solve very complex problems that were too hard for traditional methods. My code helped validate a math theory that had never been tested at this scale before.

## What research taught me

This project gave me advanced skills in C++11, and real experience in algorithm design and optimization. It was also my first step into the world of scientific research.

It taught me a lot about computer science. Sometimes you cannot just download a library to solve your problem. Sometimes you have to build the solution yourself, from the ground up.
