Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

README.md

VRP-REP model files

VRP-REP model files is a maven project. It simply contains XML schema files, used to describe Vehicle Routing Problem instances files on the web application VRP-REP.

How do I use the model in my own project ?

If you intend to use the format in a java project, you can use JAXB generated classes to read and write XML files.

Maven

The best way to go is to add the following to your pom.xml :

<dependency>
    <groupId>org.vrp-rep</groupId>
    <artifactId>vrprep-model</artifactId>
    <version>LATEST</version>
</dependency>

Manually include the JAR

Versioned JAR files are directly available from Maven central.

Reader and Writer

As of 0.1.4, the project also include a basic instance reader and writer, that you may use this way :

import java.io.File;
import org.vrprep.model.instance.Instance;
import org.vrprep.model.util.Instances;
...
Instance instance = Instances.read(inputPath);
File file = Instances.write(instance, outputPath);

About

This repository tracks versions of the VRP-REP instance file specification

Resources

Packages

No packages published

Languages

You can’t perform that action at this time.