# Challenge: Grid Search

Challenge yourself by solving a house searching problem using grid search.

## We'll cover the following

## Problem statement

You are searching for a house considering the following two criteria:

$x_1$ : This is the distance (in km) of the house from the nearest hospital.$x_1 < 0$ means that the house is located on the left side (or neighborhood) of the hospital and$x_1 \geq 0$ means that the house is located on the right side (or neighborhood) of the hospital.$x_2$ : This is the distance (in km) of the house from the nearest market.$x_2 < 0$ means that the house is located on the left side (or neighborhood) of the market and$x_2 \geq 0$ means that the house is located on the right side (or neighborhood) of the market.

Based on its location from the hospital and the market, the value for money of the house varies according to the

### Mathematical formulation

Suppose the objective function

Get hands-on with 1200+ tech skills courses.