SCIP

Solving Constraint Integer Programs

Detailed Description

file reader and writer for vertex coloring solutions

This file implements the reader and writer for coloring solution files.

These files have the following structure:
The first line contains the name of the problem, the number of colors used in the solution, and - optional - the name of the algorithm that computed this solution. The second line lists the colors of the nodes, separated by spaces. It is sorted increasingly by the node indices. The numbers for the colors start with 0.

Definition in file reader_csol.c.

#include <assert.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include "reader_csol.h"
#include "reader_col.h"
#include "probdata_coloring.h"

Go to the source code of this file.

Macros

#define COL_MAX_LINELEN   65535

Functions

static long getNextNumber (char **s)

SCIP_RETCODE SCIPincludeReaderCsol (SCIP *scip)

Macro Definition Documentation

Definition at line 40 of file reader_csol.c.

Definition at line 41 of file reader_csol.c.

Definition at line 42 of file reader_csol.c.

◆ COL_MAX_LINELEN

 #define COL_MAX_LINELEN   65535

Definition at line 44 of file reader_csol.c.

◆ getNextNumber()

 static long getNextNumber ( char ** s )
static

get next number from string s

Parameters
 s pointer to the pointer of the current position in the string

Definition at line 54 of file reader_csol.c.

static

copy method for reader plugins (called when SCIP copies plugins)

Definition at line 75 of file reader_csol.c.

static

Definition at line 86 of file reader_csol.c.

static

problem writing method of reader

Definition at line 312 of file reader_csol.c.