Scippy

GCG

Branch-and-Price & Column Generation for Everyone

reader_cls.cpp File Reference

Detailed Description

CLS reader for writing files containing classification data.

Author
Michael Bastubbe
Julius Hense

Definition in file reader_cls.cpp.

#include <assert.h>
#include <string.h>
#include <strings.h>
#include <ctype.h>
#include "reader_cls.h"
#include "cons_decomp.h"
#include "cons_decomp.hpp"
#include "class_detprobdata.h"
#include "class_conspartition.h"
#include "class_varpartition.h"

Go to the source code of this file.

Data Structures

struct  SCIP_ConshdlrData
 
struct  SCIP_ReaderData
 

Macros

#define READER_NAME   "clsreader"
 
#define READER_DESC   "reader for writing classification data"
 
#define READER_EXTENSION   "cls"
 
#define DEFAULT_USETRANSFORM   TRUE
 
#define readerCopyCls   NULL
 
#define readerReadCls   NULL
 

Functions

SCIP_RETCODE GCGwriteCls (SCIP *scip, FILE *file)
 
static SCIP_DECL_READERFREE (readerFreeCls)
 
static SCIP_DECL_READERWRITE (readerWriteCls)
 
SCIP_RETCODE SCIPincludeReaderCls (SCIP *scip)
 

Macro Definition Documentation

◆ READER_NAME

#define READER_NAME   "clsreader"

Definition at line 52 of file reader_cls.cpp.

◆ READER_DESC

#define READER_DESC   "reader for writing classification data"

Definition at line 53 of file reader_cls.cpp.

◆ READER_EXTENSION

#define READER_EXTENSION   "cls"

Definition at line 54 of file reader_cls.cpp.

◆ DEFAULT_USETRANSFORM

#define DEFAULT_USETRANSFORM   TRUE

Definition at line 55 of file reader_cls.cpp.

◆ readerCopyCls

#define readerCopyCls   NULL

Definition at line 183 of file reader_cls.cpp.

◆ readerReadCls

#define readerReadCls   NULL

problem reading method of reader

Definition at line 201 of file reader_cls.cpp.

Function Documentation

◆ GCGwriteCls()

◆ SCIP_DECL_READERFREE()

static SCIP_DECL_READERFREE ( readerFreeCls  )
static

destructor of reader to free user data (called when SCIP is exiting)

Definition at line 187 of file reader_cls.cpp.

References READER_NAME.

◆ SCIP_DECL_READERWRITE()

static SCIP_DECL_READERWRITE ( readerWriteCls  )
static

problem writing method of reader

Definition at line 205 of file reader_cls.cpp.

References GCGwriteCls().

◆ SCIPincludeReaderCls()

SCIP_RETCODE SCIPincludeReaderCls ( SCIP *  scip)

includes the cls reader into SCIP

Parameters
scipSCIP data structure

Definition at line 216 of file reader_cls.cpp.

References DEFAULT_USETRANSFORM, READER_DESC, READER_EXTENSION, READER_NAME, readerCopyCls, and readerReadCls.

Referenced by SCIPincludeGcgPlugins().