# Model

> Puts all the pieces together.

Page: https://docs.icepack.ai/isr/model/

## Overview

The model is a container for all the components that should be combined to describe a problem instance. In the case of the ISR model we'll be required to provide all of the fields except for the collection sequence (which is optional). 

### Applicable models

* ISR `isr-z4foi53qznrv`

<hr>

## Model

The model defines an instance of the desired problem to be solved.

### Schema definition 

```protobuf
message Model {
  required Configuration configuration = 1;
  repeated Collection collections = 2;
  repeated OffloadSite offloadSites = 3;
  repeated Vehicle vehicles = 4;
  repeated CollectionSequence collectionSequence = 5;
}
```



### Fields

configuration
: The [configuration](/isr/configuration/) defining the costs, travel factors, units of measurement and collection policies for this model.

collections
: The list of [collections](/isr/collection/) that are to be routed by the solver.

offloadSites
: The list of [offload sites](/isr/offloadsite/) to which collections are destined.

vehicles
: The list of [vehicles](/isr/vehicle/) which the solver may use to perform the collections.

collectionSequence
: An optional list of [collection sequences](/isr/collectionsequence/) which the solver may use for either an `evaluate` or `reoptimise` [solve request](/isr/solverequest/).

<hr>

