分支定界法基本框架
This commit is contained in:
@@ -1,6 +1,16 @@
|
||||
#include "common.hpp"
|
||||
#include <iostream>
|
||||
using namespace sv;
|
||||
|
||||
|
||||
Var::Var(double coef, VarType type_) :
|
||||
col(0),
|
||||
val(0),
|
||||
coeffs(coef),
|
||||
type(type_)
|
||||
{
|
||||
};
|
||||
|
||||
double Var::get(DoubleAttr attr)
|
||||
{
|
||||
switch (attr) {
|
||||
|
Reference in New Issue
Block a user