frepple::SolverMRP::State Struct Reference

This class is used to store the solver status during the ask-reply calls of the solver. More...

#include <solver.h>

List of all members.

Public Attributes

double a_cost
Date a_date
double a_penalty
double a_qty
BuffercurBuffer
DemandcurDemand
OperationPlancurOwnerOpplan
bool forceLate
Date q_date
Date q_date_max
FlowPlanq_flowplan
LoadPlanq_loadplan
OperationPlanq_operationplan
double q_qty

Detailed Description

This class is used to store the solver status during the ask-reply calls of the solver.

Definition at line 467 of file solver.h.


Member Data Documentation

Cost of the reply.
Only the direct cost should be returned in this field.

Definition at line 519 of file solver.h.

This is the Date when we can get extra availability.

Definition at line 503 of file solver.h.

Penalty associated with the reply.
This field contains indirect costs and other penalties that are not strictly related to the request. Examples are setup costs, inventory carrying costs, ...

Definition at line 526 of file solver.h.

This is the quantity we can get by the requested Date.

Definition at line 500 of file solver.h.

Points to the current buffer.

Definition at line 479 of file solver.h.

Points to the demand being planned.
This field is only non-null when planning the delivery operation.

Definition at line 472 of file solver.h.

Points to the current owner operationplan. This is used when operations are nested.

Definition at line 476 of file solver.h.

A flag to force the resource solver to move the operationplan to a later date where it is feasible.
Admittedly this is an ugly hack...

Definition at line 485 of file solver.h.

This is the date we are asking for.

Definition at line 491 of file solver.h.

This is the maximum date we are asking for.
In case of a post-operation time there is a difference between q_date and q_date_max.

Definition at line 497 of file solver.h.

This is a pointer to a FlowPlan. It is used for communication between the Operation-Solver and the Buffer-Solver.

Definition at line 511 of file solver.h.

This is a pointer to a LoadPlan. It is used for communication between the Operation-Solver and the Resource-Solver.

Definition at line 507 of file solver.h.

A pointer to an operationplan currently being solved.

Definition at line 514 of file solver.h.

This is the quantity we are asking for.

Definition at line 488 of file solver.h.


The documentation for this struct was generated from the following file:

Documentation generated for frePPLe by  doxygen