{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Nonlinear complementarity problem methods\n", "\n", "**Randall Romero Aguilar, PhD**\n", "\n", "This demo is based on the original Matlab demo accompanying the Computational Economics and Finance 2001 textbook by Mario Miranda and Paul Fackler.\n", "\n", "Original (Matlab) CompEcon file: **demslv08.m**\n", "\n", "Running this file requires the Python version of CompEcon. This can be installed with pip by running\n", "\n", " !pip install compecon --upgrade\n", "\n", "Last updated: 2022-Sept-04\n", "
\n", " | Time | \n", "Norm | \n", "x1 | \n", "x2 | \n", "
---|---|---|---|---|
Algorithm | \n", "\n", " | \n", " | \n", " | \n", " |
Newton minmax | \n", "1.100 | \n", "0.000000 | \n", "2.083 | \n", "4.337 | \n", "
Newton semismooth | \n", "0.500 | \n", "0.000000 | \n", "2.083 | \n", "4.337 | \n", "