[−][src]Struct flag_algebra::sdp::Problem
The optimisation problems over flags are translated into a sdp problem in the sdpa format.
Shape of the matrices:
For each i in ineqs (where i is itself a vector of inequalities): A diagonal block of size i.len()
For each cs: A block with the size od cs.input_matrix An optimization problem expressed in flags algebra.
Fields
ineqs: Vec<Ineq<N, F>>Set of contraint inequalities.
cs: Vec<MulAndUnlabeling<F>>Set of Cauchy-Schwarz inequlities to be used.
obj: QFlag<N, F>Vector to be optimized.
Methods
impl<N, F> Problem<N, F> where
N: Display + Zero + Copy + PartialEq,
F: Flag, [src]
N: Display + Zero + Copy + PartialEq,
F: Flag,
pub fn check(&self)[src]
Panic if the size of the basis involved are inconsistent.
pub fn write_sdpa(&self, filename: &str) -> Result<()>[src]
Write the semi-definite program in the file filename in the sdpa format.
Trait Implementations
Auto Trait Implementations
impl<N, F> Send for Problem<N, F> where
F: Send,
N: Send,
F: Send,
N: Send,
impl<N, F> Sync for Problem<N, F> where
F: Sync,
N: Sync,
F: Sync,
N: Sync,
impl<N, F> Unpin for Problem<N, F> where
F: Unpin,
N: Unpin,
F: Unpin,
N: Unpin,
impl<N, F> UnwindSafe for Problem<N, F> where
F: UnwindSafe,
N: RefUnwindSafe + UnwindSafe,
F: UnwindSafe,
N: RefUnwindSafe + UnwindSafe,
impl<N, F> RefUnwindSafe for Problem<N, F> where
F: RefUnwindSafe,
N: RefUnwindSafe,
F: RefUnwindSafe,
N: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T> Same<T> for T[src]
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,