{"Steps"}
- {"Step 1: Initial Tableau"}
{"Solution"}
// {" Final Result: Z = 50 at (x=10, y=5)"}
{
if let Some(solution) = self.solution {
html! {
<>
{format!("Z = {} at ", solution)}
{for self.final_values.iter().map(|(var, val)|{
html!{
<>
{format!("{}={} ", var, val)}
>
}
})}
>
}
} else {
html!{
{"Run the algorithm to find the solution"}
}
}
}